コード例 #1
0
ファイル: CharacterBase.cs プロジェクト: DrDoak/TourismGame
    // -- STUN --


    public void RegisterStun(float st, bool defaultStun, HitInfo hi, bool guard = false)
    {
        if (m_currentAction != null)
        {
            m_currentAction.OnInterrupt(StunTime, defaultStun, hi);
        }
        if (defaultStun)
        {
            startStunState(st, guard);
        }
    }