Files
BH3/Assets/Scripts/Assembly-CSharp/MoleMole/MonoFuka.cs
2025-08-13 09:26:42 +08:00

47 lines
785 B
C#

namespace MoleMole
{
public class MonoFuka : BaseMonoAvatar
{
protected const string ATTACK_INDEX_NAME = "_AttackIndex";
public override void Awake()
{
base.Awake();
}
public override void SetTrigger(string name)
{
if (name == "TriggerAttack")
{
SetLocomotionInteger("_AttackIndex", 0);
}
else if (name == "TriggerSkill_2")
{
name = "TriggerAttack";
SetLocomotionInteger("_AttackIndex", 2);
}
base.SetTrigger(name);
}
public void SetPoseLeft()
{
SetLocomotionBool("_IsLeft", true);
}
public void SetPoseRight()
{
SetLocomotionBool("_IsLeft", false);
}
public void SetStateAir()
{
SetLocomotionBool("_IsAir", true);
}
public void SetStateGround()
{
SetLocomotionBool("_IsAir", false);
}
}
}