Пример #1
0
 public void AddShapeToGrid(GameObject shape)
 {
     foreach (Transform children in shape.transform)
     {
         TranslateCoordinateToGridNumbers(children.position, out byte x, out byte y, Vector3.zero);
         m_gridModel.SetArea(x, y, children);
     }
 }