Exemplo n.º 1
0
        protected override void Awake()
        {
            base.Awake();

            Scene = GetComponent <SceneHelper>();
            Input = new PlayerInputActions();
        }
Exemplo n.º 2
0
        private void Awake()
        {
            _input = GC.Input;

            // Set up option count
            _index         = 0;
            _count         = _options.Length;
            _currentOption = _options[_index];

            // Create tweens
            foreach (MenuOption option in _options)
            {
                option.CreateTween(_fadeTo, _duration, _easeType);
            }
        }
Exemplo n.º 3
0
        protected override void Awake()
        {
            base.Awake();

            _input = GC.Input;
        }