Пример #1
0
        protected override void Awake()
        {
            base.Awake();
            this.AssertRequiredObjects(inputField, summaryText, submitButton);

            scriptPlayer    = Engine.GetService <ScriptPlayer>();
            variableManager = Engine.GetService <CustomVariableManager>();
            inputManager    = Engine.GetService <InputManager>();

            submitButton.interactable = false;
        }
Пример #2
0
 private void Awake()
 {
     variableManager = Engine.GetService <CustomVariableManager>();
     stateManager    = Engine.GetService <StateManager>();
 }