public static void AddUpdateableObject(UpdateableObject_VS updateable) { if (singleton == null) { Debug.LogError("SceneManager_VS.AddUpdateableObject(" + updateable.name + ") called, but singleton was NULL! Aborting."); return; } singleton._AddUpdateableObject(updateable); }
void _AddUpdateableObject(UpdateableObject_VS updateable) { updateables.Add(updateable); }