private void InitGrids(int maxValue) { if (_gridObjs.Count != 0) { DeactivateGrids(); } int totalCellCount = maxValue / ValuePerCell; int gridLineCount = totalCellCount; _gridObjs = SpawnController.LoadSpawnables <Image>(gridLineCount, true); }
private List <RectTransform> PrepareSpawnables(List <TPLD> newPLDColl) { return(_spawnController.LoadSpawnables <RectTransform>(newPLDColl.Count, true)); }