NewGuiMenu ITMPluginGUI.GetItemCustomSetupScreen(INewGuiMenuScreen screen, ITMGame game, ITMPlayer player, GlobalPoint3D p, Item itemID) { switch (itemID) { case Item.Rasta: return(new VehicleSetupScreen(screen, game, player, p)); default: return(null); } }
public SimpleScreen(INewGuiMenuScreen screen, ITMGame game, ITMPlayer player) : base(screen, game, player) { if (data.TextBox == null) { // one time initialization of static data data.TextBox = "Some Text"; data.DataField = "Edit Me"; data.SliderValue = 0.5f; } }
public VehicleSetupScreen(INewGuiMenuScreen screen, ITMGame game, ITMPlayer player, GlobalPoint3D p) : base(screen, game, player) { point = p; }