new input

This commit is contained in:
2025-05-17 23:56:24 +08:00
parent bc5b21da4f
commit 3609f3e462
12 changed files with 2966 additions and 404 deletions

View File

@@ -1,8 +1,6 @@
using System.Collections.Generic;
using DG.Tweening;
using DG.Tweening;
using NBC;
using NBF;
using OfficeOpenXml.FormulaParsing.Excel.Functions.Math;
using RootMotion.FinalIK;
using UnityEngine;
@@ -25,8 +23,6 @@ public partial class FPlayer : MonoBehaviour
private float interactionTargetWeight;
public bool isLeftHandVisable;
[HideInInspector] public float handPullUp;
public Fsm<FPlayer> Fsm { get; private set; }
@@ -82,13 +78,13 @@ public partial class FPlayer : MonoBehaviour
if (data.PlayerID == GameModel.RoleID)
{
var mainSync = gameObject.AddComponent<FPlayerMainSync>();
// var mainSync = gameObject.AddComponent<FPlayerMainSync>();
BaseCamera.Main.transform.SetParent(CameraRoot);
BaseCamera.Main.transform.localPosition = Vector3.zero;
}
else
{
var otherSync = gameObject.AddComponent<FPlayerOtherSync>();
// var otherSync = gameObject.AddComponent<FPlayerOtherSync>();
}
}