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(); } }
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); }