public virtual void AddToGUIUpdateList() { if (infoBox != null) { infoBox.AddToGUIUpdateList(); } }
public virtual void AddToGUIUpdateList() { if (GameMain.GraphicsWidth != screenResolution.X || GameMain.GraphicsHeight != screenResolution.Y || prevUIScale != GUI.Scale) { CreateObjectiveFrame(); } if (objectiveFrame != null && activeObjectives.Count > 0) { objectiveFrame.AddToGUIUpdateList(order: -1); } if (infoBox != null) { infoBox.AddToGUIUpdateList(order: 100); } if (videoPlayer != null) { videoPlayer.AddToGUIUpdateList(order: 100); } }