-->

Void Function - Unity Tutorial

Post a Comment
in the unity game engine, there are several main methods that are often used in building a game. below is the c # unity method

1. Void Awake
Void Awake is a method that will be executed before the method - void start ()

2. Void Start
Void Start () will only execute the program listing once, and is done at the beginning when the program starts

3. Void Update
Void Update () will execute the program every frame. which means that it will continue to execute program listings during the program. void update () is used to execute commands that always change according to conditions.

4. Void FixedUpdate
-Void FixedUpdate has a command not much different from void Update (). the difference is -void Update () focuses more on game graphics changes and void FixedUpdate focuses more on physical changes to objects

5. Void LateUpdate
Void LateUpdate will be executed late when the program starts, the example most often used is when the camera follows the player's movements.



Tags :

  • Tutorial Unity
  • Unity 2d
  • Void Funtion
  • Unity For Beginner 
  • Unity 3D

: