private void Update() { if (!this.isReadOnly && this.isDirty) { this.renderChunk(); } if (Main.isDeveloperMode) { DebugDrawer.bounds(this.chunkBounds, this.isReadOnly ? new Color(1, 0, 0, 0.25f) : this.hasDoneGen2 ? Color.blue : new Color(0, 1, 0, 0.25f)); } }
public void debugDisplay() { DebugDrawer.bounds(this.pieceBounds, this.getPieceColor()); }
/// <summary> /// Make sure you call the base method! /// </summary> public void debugDisplay() { DebugDrawer.bounds(this.structureBoundingBox, Color.white); }