Ejemplo n.º 1
0
 public void InitializePlayer(PlayerView playerPrefab, Vector3 position, float speed)
 {
     view = PhotonNetwork.Instantiate("Player_Pad", position, Quaternion.identity).GetComponent <PlayerView>();
     view.SetController(this);
     // view.SetSpeed(speed);
 }