Exemplo n.º 1
0
 // 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);
 }
Exemplo n.º 2
0
 public GameManager(Vector3 firstPos, int x, int y)
 {
     Init();
     posiblePlaces = new PosibleToGoPlaces();
     posiblePlaces.SetListAll(firstPos, x, y);
 }