Esempio n. 1
0
    protected virtual void FixedUpdate()
    {
        if (InGameGlobal.m_InGameGM == null || !InGameGlobal.GetInGameState().IsGameState(InGameState.States.PLAY))
        {
            return;
        }

        FixedUpdateDeltaTimeBase();

        foreach (PlayerBehaviour ABehavior in m_ListPlayerBehaviour)
        {
            ABehavior.FixedUpdate();
        }
    }
Esempio n. 2
0
    void OnTriggerEnter(Collider other)
    {
        if (other.attachedRigidbody == null)
        {
            return;
        }

        var PlayerBase = InGameGlobal.GetPlayerBase(other.attachedRigidbody.gameObject);

        if (PlayerBase == null)
        {
            return;
        }

        //// End 루틴 처리
        InGameGlobal.GetInGameState().CheckEnd(PlayerBase);
    }