mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-05 07:49:22 +00:00
Move many mods to Deprecated folder, fix spelling
This commit is contained in:
parent
5e822cec8d
commit
0042590aa6
539 changed files with 7475 additions and 3120 deletions
|
@ -0,0 +1,38 @@
|
|||
using ABI_RC.Core.InteractionSystem.Base;
|
||||
using ABI_RC.Core.UI;
|
||||
using NAK.SuperAwesomeMod.Components;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace ABI_RC.Core.Player.Interaction.RaycastImpl
|
||||
{
|
||||
public struct CVRRaycastResult
|
||||
{
|
||||
// Hit flags
|
||||
public bool hitWorld; // Any non-specific collision
|
||||
public bool hitWater; // Hit a fluid volume
|
||||
public bool hitCohtml; // Specifically hit a COHTML view (Main/Quick Menu)
|
||||
public bool isProximityHit; // Hit was from proximity sphere check
|
||||
public bool hitUnityUi; // Hit a canvas
|
||||
|
||||
// Main raycast hit info
|
||||
public RaycastHit hit;
|
||||
public RaycastHit? waterHit; // Only valid if hitWater is true
|
||||
|
||||
// Specific hit components
|
||||
public Pickupable hitPickupable;
|
||||
public Interactable hitInteractable;
|
||||
public Selectable hitSelectable;
|
||||
public ICanvasElement hitCanvasElement;
|
||||
|
||||
// COHTML specific results
|
||||
public CohtmlControlledView hitCohtmlView;
|
||||
public Vector2 hitCohtmlCoords;
|
||||
|
||||
// Telepathic pickup
|
||||
public bool hasTelepathicGrabCandidate;
|
||||
public Pickupable telepathicPickupable;
|
||||
public Vector3 telepathicGrabPoint;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue