Beispiel #1
0
        private void Update()
        {
            if (!inputEnabled)
            {
                return;
            }

            if (sequence.completed)
            {
                if (keyMapAsset.AnyButtonPressed())
                {
                    ScenesLoader.ReturnToMainMenu();
                }
            }
            else
            {
                if (keyMapAsset.AnyButtonPressed())
                {
                    sequence.ForceComplete();
                }
            }
        }