override void GenerateBlocks() { DestroyBlocks(); generatedBlocks = new List <LevelBlock>(); capture = capture ?? GetComponent <LevelBuilderGridCapture>(); Vector2IntUtil.Run(gridSize, CreateBlock); }
protected void Awake() { capture = GetComponent <LevelBuilderGridCapture>(); }