上传修改

This commit is contained in:
Sora丶kong
2026-03-03 10:57:00 +08:00
parent fb16c80a59
commit 82130f6146
2894 changed files with 229 additions and 856196 deletions

View File

@@ -7,14 +7,15 @@ using UnityEngine.InputSystem.LowLevel;
public class PicoHandDeviceDoEvent : MonoBehaviour
{
public HandType handType;
//public HandType handType;
CustomPicoHandDevice controller;
// Start is called before the first frame update
private void Start()
{
string hand_name = handType == HandType.HandLeft ? "LeftHand" : "RightHand";
controller = InputSystem.AddDevice<CustomPicoHandDevice>();
InputSystem.SetDeviceUsage(controller, hand_name);
//Sora: 注释
// string hand_name = handType == HandType.HandLeft ? "LeftHand" : "RightHand";
// controller = InputSystem.AddDevice<CustomPicoHandDevice>();
// InputSystem.SetDeviceUsage(controller, hand_name);
}
public void GripOn()