public MyHudMissingComponentNotification(MyStringId text, int disapearTimeMs = 2500, MyFontEnum font = MyFontEnum.White, MyGuiDrawAlignEnum textAlign = MyGuiDrawAlignEnum.HORISONTAL_CENTER_AND_VERTICAL_CENTER, int priority = 0, MyNotificationLevel level = MyNotificationLevel.Normal) : base(disapearTimeMs, font, textAlign, priority, level) { m_originalText = text; }
public MyHudNotificationDebug(string text, int disapearTimeMs = 2500, MyFontEnum font = MyFontEnum.White, MyGuiDrawAlignEnum textAlign = MyGuiDrawAlignEnum.HORISONTAL_CENTER_AND_VERTICAL_CENTER, int priority = 0, MyNotificationLevel level = MyNotificationLevel.Debug) : base(disapearTimeMs, font, textAlign, priority, level) { m_originalText = text; }
public MyHudNotificationBase( int disapearTimeMs, string font = MyFontEnum.White, MyGuiDrawAlignEnum textAlign = MyGuiDrawAlignEnum.HORISONTAL_CENTER_AND_VERTICAL_CENTER, int priority = 0, MyNotificationLevel level = MyNotificationLevel.Normal) { Font = font; Priority = priority; m_isTextDirty = true; m_actualTextAlign = textAlign; AssignFormatArgs(null); Level = level; // timing: m_lifespanMs = disapearTimeMs; m_aliveTime = 0; RefreshAlive(); }
public MyHudNotificationBase( int disapearTimeMs, MyFontEnum font = MyFontEnum.White, MyGuiDrawAlignEnum textAlign = MyGuiDrawAlignEnum.HORISONTAL_CENTER_AND_VERTICAL_CENTER, int priority = 0, MyNotificationLevel level = MyNotificationLevel.Normal) { Font = font; Priority = priority; m_isTextDirty = true; m_actualTextAlign = textAlign; AssignFormatArgs(null); Level = level; // timing: m_lifespanMs = disapearTimeMs; m_aliveTime = 0; RefreshAlive(); }
public MyHudNotificationDebug(string text, int disapearTimeMs = 2500, string font = MyFontEnum.White, MyGuiDrawAlignEnum textAlign = MyGuiDrawAlignEnum.HORISONTAL_CENTER_AND_VERTICAL_CENTER, int priority = 0, MyNotificationLevel level = MyNotificationLevel.Debug): base(disapearTimeMs, font, textAlign, priority, level) { m_originalText = text; }