Game Development

What is ScriptableObject and Why You Should Use it?

What is ScriptableObject? ScriptableObject, just like MonoBehaviour is a class that inherits from the base Object class in unity. However, unlike MonoBehaviours ScriptableObjects cannot be attached to a GameObject nor live in the scene. ScriptableObject, in essence, is a data container that can also have method bodies that exist as assets in your Unit project. Because they inherit from the base Object class they also have the Awake, OnEnable, OnDisable, OnDestroy, and OnValidate methods. However,…

Continue reading