示例#1
0
    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);
    }
示例#2
0
 void _AddUpdateableObject(UpdateableObject_VS updateable)
 {
     updateables.Add(updateable);
 }