|
|
@@ -83,7 +83,6 @@ public class Yeji : TargetAnimal
|
|
|
state.dead = true;
|
|
|
this.agent.enabled = false;
|
|
|
onDie?.Invoke(this);
|
|
|
- AudioMgr.ins.PlayAnimalEffect("bird_die", AudioMgr.GetAudioSource(this.gameObject));
|
|
|
AudioMgr.ins.PlayCheer(true);
|
|
|
if (currentHeight < 1.5f) {
|
|
|
arrow.arrowCameraComp.arrowCameraTemplate.SendMsg(0, null);
|
|
|
@@ -92,7 +91,7 @@ public class Yeji : TargetAnimal
|
|
|
|
|
|
void Hurt() {
|
|
|
CancelStand();
|
|
|
- AudioMgr.ins.PlayAnimalEffect("bird_injured", AudioMgr.GetAudioSource(this.gameObject));
|
|
|
+ AudioMgr.ins.PlayCheer(true);
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
@@ -197,7 +196,7 @@ public class Yeji : TargetAnimal
|
|
|
state.down = false;
|
|
|
//进入站立状态
|
|
|
state.standing = true;
|
|
|
- canStandTime = 2f + Random.value * 3f;
|
|
|
+ canStandTime = 8f + Random.value * 2f;
|
|
|
animator.CrossFade("IdleOnGround2", 0.2f);
|
|
|
}
|
|
|
}
|