Пример #1
0
        public override void Draw()
        {
            base.Draw();

            if (!IsEnabled)
            {
                return;
            }

            MyGuiManager.BeginSpriteBatch();
            if (m_text.Length > 0)
            {
                MyGuiManager.DrawString(MyGuiManager.GetFontGuiImpactLarge(), m_text, MyGuiManager.GetScreenTextLeftBottomPosition(), MyGuiConstants.LABEL_TEXT_SCALE * 0.93f,
                                        Color.Red, MyGuiDrawAlignEnum.HORISONTAL_LEFT_AND_VERTICAL_TOP);
            }
            MyGuiManager.EndSpriteBatch();
        }