30 lines
530 B
C#
30 lines
530 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Eff_zhubajie_Skill_AniEvent : MonoBehaviour
|
|
{
|
|
int a=0;
|
|
void FixedUpdate()
|
|
{
|
|
if (a == 57)
|
|
{
|
|
transform.GetComponent<Animation>().Play("skill_jump");
|
|
}
|
|
if (a == 130)
|
|
{
|
|
transform.GetComponent<Animation>().Play("skill_rush");
|
|
}
|
|
if (a == 105)
|
|
{
|
|
transform.GetComponent<Animation>().Play("skill_turn");
|
|
}
|
|
if (a == 130)
|
|
{
|
|
transform.GetComponent<Animation>().Play("skill_end");
|
|
}
|
|
a++;
|
|
|
|
}
|
|
|
|
} |