/// <summary> /// Creates a new <see cref="ConsoleSystem"/> instance. /// </summary> public ConsoleSystem(MortarApp mortarComponent) : base(mortarComponent) { ConsoleWindow = new InGameWindow(); ConsoleWindow.IsVisible = false; ConsoleWindow.Position = new Vector2(5, 5); ConsoleWindow.Size = new Vector2(320, 220); ConsoleWindow.Title = CONSOLE_WINDOW_TITLE; LatestInput = ""; }
/// <summary> /// Creates a new <see cref="MovementSystem"/> instance. /// </summary> public MovementSystem(MortarApp mortarComponent) : base(mortarComponent) { }
/// <summary> /// Reset is called when the user hits the Reset button in the Editors Inspector's /// context menu or when adding the component the first time. /// </summary> public void Reset() { instance = this; }
/// <summary> /// Awake is called when the script instance is being loaded. /// </summary> public void Awake() { instance = this; }