예제 #1
0
 public void InitOtherPlayer(float x, float y, string dir)
 {
     OtherPlayers    = Instantiate <OtherPlayers>(OtherPlayersPrefab, new Vector3(x, y, 0), transform.rotation);
     OtherPlayers.gm = gameObject.GetComponent <GameManager>();
     OtherPlayers.Direction(dir);
     // players.Add(curPlayer);
 }