public void RenderWithPrefab(IWallInstantiable prefab) { _prefab = prefab; LoopThroughCells(CreateWalls); ResetMembers(); }
private void ResetMembers() { _cells = null; _prefab = null; _parent = null; }
public void RenderWithPrefab(IWallInstantiable prefab) { _prefab = prefab; LoopThroughCells(CreateWalls); ResetMembers(); }
private void ResetMembers() { _cells = null; _prefab = null; _parent = null; }