Exemplo n.º 1
0
    private void InitGrids(int maxValue)
    {
        if (_gridObjs.Count != 0)
        {
            DeactivateGrids();
        }

        int totalCellCount = maxValue / ValuePerCell;
        int gridLineCount  = totalCellCount;

        _gridObjs = SpawnController.LoadSpawnables <Image>(gridLineCount, true);
    }
Exemplo n.º 2
0
 private List <RectTransform> PrepareSpawnables(List <TPLD> newPLDColl)
 {
     return(_spawnController.LoadSpawnables <RectTransform>(newPLDColl.Count, true));
 }