Ejemplo n.º 1
0
 void Start()
 {
     _gameManeger  = FindObjectOfType <GameManegerToScore>();
     _board        = FindObjectOfType <GameBoard>();
     PositionWidth = (int)transform.position.x;
     PositionHight = (int)transform.position.y;
     Row           = PositionHight;
     Column        = PositionWidth;
     RexColumn     = Column;
     RezRow        = Row;
 }
Ejemplo n.º 2
0
 void Start()
 {
     _managerScoreScr = FindObjectOfType <GameManegerToScore>();
     AllTileInBoard   = new GameObject[Width, Height];
     CreatedBoart();
 }