结构大修改,改成朴实无华的结构,不过度架构。能跑就行
This commit is contained in:
19
Assets/Scripts/Fishing/Player/FPlayer.cs
Normal file
19
Assets/Scripts/Fishing/Player/FPlayer.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Fantasy;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public class FPlayer : MonoBehaviour
|
||||
{
|
||||
public MapUnitInfo Unit { get; private set; }
|
||||
public Transform Root;
|
||||
public Transform Eye;
|
||||
public Transform FppLook;
|
||||
public Transform IK;
|
||||
|
||||
public void InitData(MapUnitInfo unit)
|
||||
{
|
||||
Unit = unit;
|
||||
}
|
||||
}
|
||||
}
|
||||
3
Assets/Scripts/Fishing/Player/FPlayer.cs.meta
Normal file
3
Assets/Scripts/Fishing/Player/FPlayer.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 625346c970c542bab9f3a36f78720a77
|
||||
timeCreated: 1766419452
|
||||
Reference in New Issue
Block a user