Coroutines with UnityThe desired idea is to repeatedly do something — create an object or repeat an instruction sequence one after the other, including maybe…Apr 1, 2024Apr 1, 2024
Spawning Objects in Unity without the ClutterThe desired idea is to repeatedly do something — create an object or repeat an instruction sequence one after the other, including maybe…Apr 1, 2024Apr 1, 2024
Script Communication in Unity using GetComponentIn the example, there are three C# scripts coding three classes named Laser.cs, Enemy.cs, and Player.csMar 31, 2024Mar 31, 2024
OnCollisionEnter Vs. OnTriggerEnter — When to use them?After a gameObject’s creation and the coding is in place to give them some movement through the space, they will not collide with each…Mar 31, 2024Mar 31, 2024
Introduction to Physics in UnityA collision occurs when two gameObjects touch. Each object has a Collider property. In the shooter game project, the Inspector lists a…Mar 26, 2024Mar 26, 2024
Creating a Cooldown System in UnityThis is a system to slow down the rate of shots fired from whenever a key is pressed to only one shot ever so often: once per second, twice…Mar 18, 2024Mar 18, 2024
Instantiating & Destroying Gameobjects in UnityA “transform” is a “gameObject.”Mar 18, 2024Mar 18, 2024
Why you need to be writing pseudo codeFrom time to time, computer code is unrecognizable after sitting in storage for a long time, or even as short as two weeks. This is…Mar 9, 2024Mar 9, 2024
Simple Player Movement in UnityVariables that hold user input values are contained in the Update() block of Unity code.Mar 8, 2024Mar 8, 2024