예제 #1
0
 public void add(string key, GameObject value)
 {
     if (!SingletonClass.GetSingleton().members.ContainsKey(key))
     {
         SingletonClass.GetSingleton().members.Add(key, value);
     }
 }
예제 #2
0
 public static GameObject 探す(String str)
 {
     if (GameObject.Find(str) == null)
     {
         return(SingletonClass.GetSingleton().members[str]);
     }
     return(GameObject.Find(str));
 }
예제 #3
0
 public static void _隠す_かくす(this GameObject obj)
 {
     SingletonClass.GetSingleton().add(obj.name, obj);
     obj.SetActive(false);
 }