private void enableGeneratePlanes(bool state) { if (state) { generatePlanes.startPlaneGeneration(); placementCursor.SetActive(true); } if (!state) { generatePlanes.stopPlaneGeneration(); placementCursor.SetActive(false); } }