大修改调整
This commit is contained in:
@@ -5,31 +5,11 @@ using UnityEngine;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[Serializable]
|
||||
public enum PlayerState
|
||||
{
|
||||
idle = 0,
|
||||
move = 1,
|
||||
prepare = 2,
|
||||
casting = 3,
|
||||
fishing = 4,
|
||||
baitFlies = 5,
|
||||
fight = 6,
|
||||
fishView = 7,
|
||||
collectFish = 8,
|
||||
throwFish = 9,
|
||||
vehicle = 10,
|
||||
swiming = 11,
|
||||
flyModeDebug = 12,
|
||||
vehicleFishing = 13,
|
||||
preciseCastIdle = 14,
|
||||
preciseCastThrow = 15
|
||||
}
|
||||
|
||||
public class PlayerModelAsset : MonoBehaviour
|
||||
{
|
||||
public Animator Animator { get; private set; }
|
||||
public PlayerIK IK { get; private set; }
|
||||
public PlayerAnimator PlayerAnimator { get; private set; }
|
||||
public MagicBlending MagicBlending { get; private set; }
|
||||
|
||||
public Transform NeckTransform;
|
||||
@@ -46,6 +26,7 @@ namespace NBF
|
||||
Animator.keepAnimatorStateOnDisable = true;
|
||||
MagicBlending = GetComponent<MagicBlending>();
|
||||
IK = GetComponent<PlayerIK>();
|
||||
PlayerAnimator = GetComponent<PlayerAnimator>();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,43 +4,6 @@
|
||||
{
|
||||
public const uint None = 0;
|
||||
|
||||
public static class Player
|
||||
{
|
||||
/// <summary>
|
||||
/// 闲置
|
||||
/// </summary>
|
||||
public const uint Idle = 2;
|
||||
|
||||
/// <summary>
|
||||
/// 拿着鱼竿闲置
|
||||
/// </summary>
|
||||
public const uint RodIdle = 3;
|
||||
|
||||
/// <summary>
|
||||
/// 等待抛竿,蓄力中
|
||||
/// </summary>
|
||||
public const uint WaitThrow = 4;
|
||||
|
||||
/// <summary>
|
||||
/// 抛竿中
|
||||
/// </summary>
|
||||
public const uint Throw = 5;
|
||||
|
||||
/// <summary>
|
||||
/// 钓鱼中
|
||||
/// </summary>
|
||||
public const uint Fishing = 6;
|
||||
|
||||
/// <summary>
|
||||
/// 上鱼搏斗中
|
||||
/// </summary>
|
||||
public const uint Fight = 7;
|
||||
|
||||
/// <summary>
|
||||
/// 展示鱼获
|
||||
/// </summary>
|
||||
public const uint ShowFish = 8;
|
||||
}
|
||||
|
||||
public static class Fish
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user