public Game1() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; Window.TextInput += (s, a) => { if (a.Character == '\t') { return; } ImGui.GetIO().AddInputCharacter(a.Character); }; this.IsMouseVisible = true; this.IsFixedTimeStep = true; this.Window.AllowUserResizing = true; this.Renderer = new LiveImGuiRenderer(); this.UserInterface = new UserInterface(); }
public GameLoop() { Renderer = new LiveImGuiRenderer(); UserInterface = new UserInterface(); }