private void Initialize() { if (!initialized) { initialized = true; uiInput = InputManager.Instance.generalUIInputManager; Subscribe(); } }
private void Initialize() { if (!initialized) { shipCreator.onCreationStageChanged += ChangeStage; heldVerticalTimer = new Timer(heldVerticalChangeSelectionTime, true); shipNameInputField.Select(); uiInput = InputManager.Instance.generalUIInputManager; initialized = true; Subscribe(); } }
private void Initialize() { if (!initialized) { if (saveData == null) { saveData = SaveSystem.LoadData(); } FillShipEntries(); heldVerticalTimer = new Timer(heldVerticalChangeSelectionTime, true); uiInput = InputManager.Instance.generalUIInputManager; initialized = true; Subscribe(); } }