Episode 05C/ 6D / Unity • How to Change Materials
Автор: Tutorials • Immersive Realities Industry 4.0
Загружено: 2023-07-08
Просмотров: 65
In tis Unity tutorial we will create different materials by using textures. The materials can be changed with a script. When clicking on a button the different materials are shown. The basic script is created using ChatGPT but we will (slightly) adjust this.
As we will introduce an array and the remainder operator to scroll through the array, an explainer animation is included to show the workings of this operator.
The timestamp for this video:
0:00 Introduction
01:53 Importing Textures
02:47 Creating Different Materials
08:43: Basic Script from Chat GPT
09:17: Create Script to Change Materials
12:17 Explainer Remainder Operator
14:44: Attaching Script to Objects
16:02 Attaching Script to Button
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: