CTIN 289 - Interactive Snippets Library

Powered by 🌱Roam Garden

Creating Scriptable Objects

Create and name a new C# script.

Delete “MonoBehaviour” and replace it with “ScriptableObject”.

Add the variables you need for your object.

Above the “public class” line, write [CreateAssetMenu].

Return to Unity and choose Assets > Create > Your Object.

Fill in the values for your object. Repeat steps 5 and 6 for every instance you need.