private void OnDisable() { PersistentDataManager.UnregisterPersister(this); }
void OnDisable() { PersistentDataManager.UnregisterPersister(this); s_Instance = null; }
public void Save() { PersistentDataManager.SetDirty(this); }
void OnEnable() { collider = GetComponent <CircleCollider2D>(); PersistentDataManager.RegisterPersister(this); }
private void OnEnable() { PersistentDataManager.RegisterPersister(this); }
public void OverrideAlreadyTriggered(bool alreadyTriggered) { m_AlreadyTriggered = alreadyTriggered; PersistentDataManager.SetDirty(this); }