Example #1
0
 public static MasterEntity Create()
 {
     if (Instance == null)
     {
         Instance = new MasterEntity();
     }
     return(Instance);
 }
Example #2
0
        public static MasterEntity Create()
        {
            if (Instance == null)
            {
                Instance = new MasterEntity();
#if !SERVER
                Instance.AddComponent <GameObjectComponent>();
#endif
            }
            return(Instance);
        }
Example #3
0
 public static void Destroy()
 {
     Instance = null;
 }