mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
42 lines
No EOL
1 KiB
C#
42 lines
No EOL
1 KiB
C#
using ABI_RC.Core.InteractionSystem;
|
|
using ABI_RC.Core.InteractionSystem.Base;
|
|
using ABI_RC.Systems.InputManagement;
|
|
using UnityEngine;
|
|
using UnityEngine.Serialization;
|
|
|
|
namespace ABI_RC.Core.Player.Interaction
|
|
{
|
|
public class CVRPlayerHand : MonoBehaviour
|
|
{
|
|
#region Fields
|
|
|
|
[SerializeField]
|
|
private CVRHand _hand;
|
|
|
|
// Pickup rig
|
|
[SerializeField] private Transform rayDirection;
|
|
[SerializeField] private Transform _attachmentPoint;
|
|
[SerializeField] private Transform _pivotPoint;
|
|
[SerializeField] private VelocityTracker _velocityTracker;
|
|
|
|
// Pickup state
|
|
private bool _isHoldingObject;
|
|
private Pickupable _heldPickupable;
|
|
private Pickupable _proximityPickupable;
|
|
|
|
#endregion Fields
|
|
|
|
#region Unity Events
|
|
|
|
|
|
#endregion Unity Events
|
|
|
|
#region Private Methods
|
|
|
|
#endregion Private Methods
|
|
|
|
#region Public Methods
|
|
|
|
#endregion Public Methods
|
|
}
|
|
} |