Passing messages between GameObjects is something you'll do all the time, so it's important to know the best ways to do it.
Passing messages between GameObjects is something you'll do all the time, so it's important to know the best ways to do it.
Unity's flexible prefab system lets you create template objects and instantiate copies anytime. Plus, you can nest prefabs and create variants with different properties.
There are several ways to save data with different strengths and weaknesses, including PlayerPrefs, binary serialization, and JSON files.
ScriptableObjects are a powerful way to create custom data assets which you can use for data storage, asset variables, events, and behavior.
Interpolation methods are ways to blend between two values smoothly. You can interpolate linearly, quadratically, spherically, and with animation curves.
With coroutines, you can run loops over several frames, chain them, and create custom ways to wait for the next loop iteration to execute.
There are many innocuous things you'll do in gamedev which create garbage, which must be cleaned up by Unity. Learn how to manage memory to avoid costly GC spikes.