Method OnDisable OnDisable() Destroys the lazily created SchemaDrivenBuildScriptInstance when this UnityEngine.ScriptableObject is disabled or unloaded. Declaration protected virtual void OnDisable()