示例#1
0
 void Start()
 {
     time = 0.0f;
     mainObject = GameObject.Find("MainObject");
        	cManager = mainObject.GetComponent<ConnectionManager>();
     gameObject.GetComponent<MessageQueue>().AddCallback(Constants.SMSG_AUTH, ResponseLogin);
 }