예제 #1
0
 public override void OnStartLocalPlayer()
 {
     isHost          = PlayerSingleton.Instance.isHost;
     playerName      = PlayerSingleton.Instance.playerName;
     gameObject.name = playerName;
     PlayerSingleton.Instance.player = this;
     lobbyScript.SetPlayer(this);
     base.OnStartLocalPlayer();
 }