Exemple #1
0
    public override void OnBehaviourPause(Playable playable, FrameData info)
    {
        if (ActorMgr == null)
        {
            Debug.LogWarning("CustomStabTrack PrepareFrame ActorManager is null");
        }
        ActorMgr.LockUnLockActorController(false);

        if (ActorMgr.CompareTag("Box"))
        {
            return;
        }

        if (ActorMgr.SM.TempInfo.HP <= 0)
        {
            ActorMgr.Controller.Die();
        }
    }