Ejemplo n.º 1
0
        public override void drawDebug()
        {
            foreach (Vector3 v in this.points)
            {
                GLDebug.DrawArrow(v, Vector3.up * 2.5f, 0.25f, 20, v == this.whackPoint ? Colors.orange : Color.yellow);
            }

            if (Util.isAlive(this.building))
            {
                GLDebug.DrawLine(this.unit.getPos(), this.building.getPos(), this.func() ? Colors.green : Colors.red);
            }
        }
Ejemplo n.º 2
0
    public override void drawDebug()
    {
        foreach (Vector3 point in this.points)
        {
            Color color = point == this.whackPoint ? Colors.orange : Color.yellow;
            GLDebug.DrawArrow(point, Vector3.up * 2.5f, 0.25f, 20, color);
        }

        if (Util.isAlive(this.building))
        {
            GLDebug.DrawLine(this.unit.getFootPos(), this.building.getPos(), this.isNextToWhackPoint() ? Colors.green : Colors.red);
        }
    }