Ejemplo n.º 1
0
    public void RolePlayJumpAnim(BattleRoleData _unit)
    {
        CharacterModelController _cha = _unit.GetComponentInChildren <CharacterModelController>();

        if (IsWaitingPlayerAction && _cha != null)
        {
            CharacterModel cha = _cha.CurrentCharacterModel;
            if (cha && !cha._isDead)
            {
                StartCoroutine(IEJumpAnim(cha));
            }
        }
    }