Exemplo n.º 1
0
 private void Awake()
 {
     if (!Inited)
     {
         Inited   = true;
         instance = this;
         DontDestroyOnLoad(gameObject);
         InitJson();
     }
     else
     {
         Destroy(gameObject);
     }
 }
Exemplo n.º 2
0
 public static void ResetDB()
 {
     TestDataController.ResetDB();
 }
Exemplo n.º 3
0
 public static void EmptyDb()
 {
     TestDataController.EmptyDB();
 }