Battle Heart 游戏的 Player 类 主要分为 Idle 站立状态 Move to position 移动到某个点 Move to target 移动到某个目标 Attack 攻击某个目标 Interact 和某个东西交互 1. Idle idle animation 同时如果有目标在攻击范围内 进入Move t
// Use this for initialization void Start () { this.anim_stand = this.animation[ANI_Stand]; &nbs
模型移动 float distance = Mathf.Abs(Vector3.Distance(hit.point, transform.position)); this.targetPoint = hit.point; this.moveTime = distance /
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号