Unity’s Audio mixers

Unity has an object known as “Audio Mixer”. It allows us to have easy time manipulating audio on runtime, allowing us to create such things as audio volume settings or dynamicly mix layers of soundtracks. In order to be able to manipulate Audio Mixers from script, we first need to expose our desired paramiter. First, […]

Read more

Unity’s Scriptable objects

Scriptable objects can become very useful when developing in Unity. In order to create a scriptable object, we need to create a new script, and we need to create something like this: This gives us an ability to create a new object in the menu An example scritpable object would look like this: And thats […]

Read more

Unity C# scripting trick

A little useful trick when coding, one that many starting developers may not know how to works with, is how to create a script that inherits properties from other scripts. When creating a new script, you may notice a following line of code when creating a new script: This signals us a normal unity script, […]

Read more

Navmesh in Unity

Navigation is a crucial aspect of game development, especially when creating AI-controlled characters that need to move intelligently through your game world. In order to allow them to move around our level, we need to use NavMesh. NavMesh, short for Navigation Mesh, is a data structure that represents the walkable surfaces in your game environment. […]

Read more

Data Persistance beetween scenes in Unity

Data persistance is an important aspect of creating games in unity. Sometimes, we need to save data beetween our scenes, such as player’s position or what is currently inside the player’s inventory. For a newcomer, it might be very hard to find where the function responsible for holding Gameobjects that are persistent beetween the scenes. […]

Read more