コード例 #1
0
    private void Update()
    {
        if (m_Triggered)
        {
            if (!m_Job)
            {
                m_PlayerAnimator.SetTrigger("Abilities");
                AudioManager.Play("AbilityGain");
                m_Job = true;
            }

            if (m_AbilityBehaviour.SkipAllowed)
            {
                if (Input.anyKeyDown)
                {
                    Destroy(abilityIntro);
                    m_AbilityBehaviour.Reset();
                    Destroy(gameObject);
                }
            }
        }
    }