예제 #1
0
파일: PlayerMove.cs 프로젝트: pracalic/game
 // Start is called before the first frame update
 void Start()
 {
     timer      = Time.time;
     photonView = PhotonView.Get(this);
     places     = GameManager.instance.GetPosiblePlacesList();
     currentPos = places.GetCurrentListPosition(transform.position);
     table      = places.MoveCheck(currentPos);
 }
예제 #2
0
파일: PlayerMove.cs 프로젝트: pracalic/game
 private void FillPos(int ind)
 {
     currentPos         = ind;
     transform.position = places.GetCurrentWorldPosition(currentPos);
     table = places.MoveCheck(currentPos);
 }