void updateShroud() { if (!shroudEnabled) { destroyShroud(); } if (shroudGO == null || shroudShaper == null) { createNewShroudGO(); } updateTextureScale(); shroudShaper.update(); if (shroudGO != null) { shroudGO.SetActive(!invisibleShroud); } if (isFarInstalled()) { //Debug.Log("[Debug] Updating FAR Voxels"); part.SendMessage("GeometryPartModuleRebuildMeshData"); } }
void updateShroud() { if (!shroudEnabled) { destroyShroud(); } if (shroudGO == null || shroudCylinders == null) { createShroudGO(); } shroudCylinders.update(); }
void updateShroud() { if (!shroudEnabled) { destroyShroud(); } if (shroudGO == null || shroudCylinders == null) { createShroudGO(); } shroudCylinders.update(vertOffset, height, botWidth, topWidth, thickness); }
void updateShroud() { if (!shroudEnabled) { destroyShroud(); } if (shroudGO == null || shroudCylinders == null) { createShroudGO(); } updateTexture(); shroudCylinders.update(); shroudGO.GetComponent <MeshRenderer>().enabled = !invisibleShroud; }