大修改调整

This commit is contained in:
2026-01-11 23:58:02 +08:00
parent ca68084264
commit f7d44f1f8d
72 changed files with 584396 additions and 20533 deletions

View File

@@ -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>();
}
}
}

View File

@@ -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
{