public void Discard(MyMonoBehaviour mono) { #if _DEBUG string name = mono.GetType().Name; if (this.monos.ContainsKey(mono.GetType().Name)) { this.monos.Remove(name); } #endif }
public void Regist(MyMonoBehaviour mono) { #if _DEBUG this.monos.Add(mono.GetType().Name, mono); #endif }