UNITY TUTORIAL | PROJECT | Roll a Ball | 5. Creating Collectable Objects

Roll a Ball

Creating Collectable Objects

2
Cube Object
3
deselection in the inspector
4
changing transform of Collectable
5
Attaching Script to
6
Public Variable | Transform.Rotate()
ezgif.com-video-to-gif
Rotating Cube
5. Creating Collectable Objects
Adding time.deltaTime | Frame Independent
ezgif.com-video-to-gif-2
Smooth Rotation with time.deltaTime
8
Trying to make Prefabs
9
Making Prefabs
10
Local View
11
Global View
ezgif.com-video-to-gif
Moving GameObject in Global View
12
Putting Prefabs | Values of Prefabs
13
Changing​ Values in Prefab Origin
14
Change applied to every Prefab
ezgif.com-video-to-gif-2
PickUps
5. Creating Collectable Objects
Creating Material​ to Change Color of Prefab
5-creating-collectable-objects-2.png
Apply the Material to an instantiated prefab
5. Creating Collectable Objects 3
Applying change to every prefab
ezgif.com-video-to-gif
Changing​ Color of

Unity Tutorial | Scripting | Scripts as Behavior Components

2
Unity 3D Project | Camera | Cube | Plane
3
Directional Light
10
Script | Input.GetKeyDown | Renderer | material
4
RigidBody | Mesh Renderer
5
Gravity
6
Color changed | Blue
7
Color Changed | red
8
Color Changed | Green
9
Color Changed Manually