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 Basic How to pause the game in Unity The proper way of pausing the game in Unity Time.timeScale = 0; If you want to restore the game: Time.timeScale = 1; HackingWithUnity 11 Aug 2020 · 1 min read
Unity Basic Map, reduce, filter in C# Unity With the help of LINQ, we can easily do some functions like Map, Reduce and Filter like other languages. Map using System.Linq; int[] values = new int[] {1, 2, 3, HackingWithUnity 11 Aug 2020 · 1 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
Free Resource Free 2D Pixel Art - GothicVania GothicVania Church Pack with animation GothicVania Church Pack | 2D Characters | Unity Asset StoreElevate your workflow with the GothicVania Church Pack asset from Ansimuz. Find this & more Characters on the Unity HackingWithUnity 5 Aug 2020 · 1 min read
Free Resource Free 2D Pixel Art - Bandits Bandits - Pixel Art | 2D Characters | Unity Asset StoreElevate your workflow with the Bandits - Pixel Art asset from Sven Thole. Find this & more Characters on the Unity Asset Store. HackingWithUnity 4 Aug 2020 · 1 min read
Free Resource Free 2D Pixel Art - Sunnyland Sunnyland is a FREE pixel art resource you can download from Unity Asset Store. https://assetstore.unity.com/packages/2d/characters/sunny-land-103349 HackingWithUnity 2 Aug 2020 · 1 min read
Unity Basic String in Unity using C# In Unity, you can either use string or System.String for the string variable. public class PlayerControl : MonoBehaviour { void Awake() { // define a string string s = "foo"; Debug.Log(s); // output: HackingWithUnity 31 Jul 2020 · 1 min read
Unity Basic How to create and use List in Unity using C# How to create and use List in Unity using CSharp HackingWithUnity 29 Jul 2020 · 1 min read
Unity Basic How to create and use ArrayList in Unity using C# How to create and use ArrayList in Unity using CSharp HackingWithUnity 29 Jul 2020 · 1 min read
Unity Basic How to create and use array in Unity using C# How to create and use array in Unity using C# HackingWithUnity 28 Jul 2020 · 1 min read
Unity Basic How to define and use Random in Unity using C# How to define and use Random in Unity using C# HackingWithUnity 28 Jul 2020 · 1 min read
Unity Basic How to define and use enum in Unity using C# How to define and use enum in Unity using C# HackingWithUnity 28 Jul 2020 · 1 min read
Unity Basic How to define a constant in Unity using C# How to define a constant in Unity using C# HackingWithUnity 28 Jul 2020 · 1 min read
Unity Basic How to define a variable in Unity using C# How to define a variable in Unity using C# HackingWithUnity 27 Jul 2020 · 1 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