From Create Button

Creating Soap ScriptableObjects

Expose the reference directly on your class and mark it as [SerializeField] (or make it public):

public class MyCustomClass : MonoBehaviour
{
    [SerializeField] private FloatVariable _floatVariable;
}

In the Inspector, click the Create button.

By default, this generates a new Scriptable Variable in the currently selected folder in the Project window. This behavior is called Auto creation mode.

In the settings, you can switch the creation mode to Manual.

When Manual mode is enabled, clicking Create opens the Soap Asset Creator popup with pre-filled values. You can adjust the asset name, tag, and destination folder before the asset is created.

If you use a dedicated folder for all Soap Scriptable Objects, you can also set the Create Path Mode to Manual in the settings. This ensures the correct destination folder is already selected when the Soap Asset Creator opens.

Last updated