示例#1
0
 protected bool GameHasGameObject(string name)
 {
     return(MsgDispatcher.HasGameObject(name));
 }
示例#2
0
 protected Transform GetChild(string name)
 {
     return(MsgDispatcher.GetChild(name, transform));
 }
示例#3
0
 protected void UnRegisterGameObject(string name)
 {
     MsgDispatcher.UnRegisterObj(name);
 }
示例#4
0
 protected T[] GetComponentsInChildren <T>(string name)
 {
     return(MsgDispatcher.GetComponentsInChildren <T>(name));
 }
示例#5
0
 protected T GetComponent <T>(string name)
 {
     return(MsgDispatcher.GetComponent <T>(name));
 }
示例#6
0
 protected GameObject GetGameObject(string name)
 {
     return(MsgDispatcher.GetGameObject(name));
 }
示例#7
0
 protected void RegisterObj()
 {
     MsgDispatcher.RegisterGameObject(gameObject.name, gameObject);
 }