void LazyIntialize() { if (buffers == null) { buffers = new MeshRendererBuffers(); buffers.Initialize(); if (meshGenerator != null) { return; } meshGenerator = new MeshGenerator(); meshFilter = GetComponent <MeshFilter>(); meshRenderer = GetComponent <MeshRenderer>(); currentInstructions.Clear(); } }