public static void MakePersistent(SaveEntity entity) { UnityEngine.Object.DontDestroyOnLoad(entity.gameObject); entity.transform.parent = instance.PersistentDataRoot; SaveEntityManager.MarkPersistent(entity); }