예제 #1
0
        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));
            }
        }
예제 #2
0
 public void debugDisplay()
 {
     DebugDrawer.bounds(this.pieceBounds, this.getPieceColor());
 }
예제 #3
0
 /// <summary>
 /// Make sure you call the base method!
 /// </summary>
 public void debugDisplay()
 {
     DebugDrawer.bounds(this.structureBoundingBox, Color.white);
 }