Exemplo n.º 1
0
        public void Begin()
        {
            selfController.RoleAnimator.SetInteger("qteState", 1);
            targetController.RoleAnimator.SetTrigger("qte_dog_to_human");

            selfController.IsQte   = true;
            targetController.IsQte = true;

            // 给qte目标设置朝向 add by TangJian 2019/3/20 21:47
            targetController.SetDirectionInt(-selfController.GetDirectionInt());

            LockTarget();

            _qteState = QteState.QteRunning;
        }