public override void CreateUI(GLEx g, int x, int y, LComponent component, LTexture[] buttonImage) { if (visible && goalPath != null) { g.SetLineWidth(lineWidth); g.GLBegin(GL.GL_LINE_STRIP); g.Draw(goalPath, color); g.GLEnd(); g.ResetLineWidth(); g.ResetColor(); } }