Esempio n. 1
0
 void CmdAdd()
 {
     infoManager          = FindObjectOfType <PlayerInfoManager> ();
     player               = infoManager.Register("Haha");
     this.gameObject.name = player.ToString();
     RpcAdd(player);
 }
Esempio n. 2
0
	void CmdAdd() {
		infoManager = FindObjectOfType<PlayerInfoManager> ();
		player = infoManager.Register ("Haha");
		this.gameObject.name = player.ToString ();
		RpcAdd (player);
	}