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