Exemplo n.º 1
0
 void Start()
 {
     uiManageUtil       = GameObject.FindGameObjectWithTag("UIRoot").GetComponent <UIManageUtil>();
     usernameInputField = uiManageUtil.GetGameObjectByName("LoginPanel/UsernameInputField").gameObject;
     passwordInputField = uiManageUtil.GetGameObjectByName("LoginPanel/PasswordInputField").gameObject;
     noticeTextField    = uiManageUtil.GetGameObjectByName("NoticeTextField").gameObject;
 }
 void Start()
 {
     uiManageUtil    = GameObject.FindGameObjectWithTag("UIRoot").GetComponent <UIManageUtil>();
     menu            = uiManageUtil.GetGameObjectByName("Menu").gameObject;
     playerInfoPanel = uiManageUtil.GetGameObjectByName("PlayerInfoPanel").gameObject;
 }