Unity Tips Time.time vs. Time.detaTime and Update vs. FixedUpdate Time.time Time.time is a read-only value which is the amount of time after game has been started. Time.deltaTime Time.deltaTime is how much time passed since the HackingWithUnity 13 Aug 2020 · 2 min read
Unity Tips How to use audio in Unity Audio and sound are important component in the Unity. This article will show how to add audio or sound in your project. The audio format: Up until 2020, the most HackingWithUnity 10 Aug 2020 · 3 min read
Unity Tips Are you familiar with Awake(), OnEnable(), Start(), Update(),FixedUpdate() and OnDestroy() There are so many articles on explaining the difference between the following built-in methods in Unity: * Awake() * OnEnable() * Start() * FixedUpdate() * Update() * OnDestroy() Those methods are quite frequently used in Unity HackingWithUnity 26 Jul 2020 · 1 min read
Unity Tips Setup Visual Studio Code for Unity on Mac 2022 There are tons of articles online tells us it is 2020, we should use the Visual Studio code, which is a good coding tool (or IDE) with numerous extensions. This HackingWithUnity 26 Jul 2020 · 3 min read
Unity Tips Unity: Should I choose Kinematic, Static or Dynamic for Rigidbody 2D body type? When dealing with Rigidbody 2D, there are three key body types which determines how a game object move and react to collision. This post is the complete guide on how HackingWithUnity 26 Jul 2020 · 2 min read
Unity Tips Attributes in Unity There are some quite frequently used attributes in the Unity while writing games. #1 [HideInInspector] If you need a public variable in your script (so the other scripts can use HackingWithUnity 26 Jul 2020 · 2 min read
Unity Tips Real example shows the difference of three Canvas UI Scale Modes Resize your UI window size along with game screen size, in other words, we want the game menu become bigger if the game is played on a bigger screen size, HackingWithUnity 26 Jul 2020 · 2 min read
Unity Tips Unity: How to change the default or entry animation for an animator When creating a new animation for a game object, by default in Unity, the first animation your created is the entry animation for a game object. Suppose we have two HackingWithUnity 26 Jul 2020 · 1 min read