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