mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-05 15:59:22 +00:00
ShareBubbles: Fixes for 2025r178
This commit is contained in:
parent
ac9af46bd6
commit
6d30fe1f41
5 changed files with 13 additions and 13 deletions
|
@ -14,12 +14,12 @@ public class BubbleInteract : Interactable
|
|||
return Vector3.Distance(transform.position, sourcePos) < 1.5f;
|
||||
}
|
||||
|
||||
public override void OnInteractDown(ControllerRay controllerRay)
|
||||
public override void OnInteractDown(InteractionContext context, ControllerRay controllerRay)
|
||||
{
|
||||
// Not used
|
||||
}
|
||||
|
||||
public override void OnInteractUp(ControllerRay controllerRay)
|
||||
public override void OnInteractUp(InteractionContext context, ControllerRay controllerRay)
|
||||
{
|
||||
if (PlayerSetup.Instance.GetCurrentPropSelectionMode()
|
||||
!= PlayerSetup.PropSelectionMode.None)
|
||||
|
@ -39,12 +39,12 @@ public class BubbleInteract : Interactable
|
|||
GetComponentInParent<ShareBubble>().ViewDetailsPage();
|
||||
}
|
||||
|
||||
public override void OnHoverEnter()
|
||||
public override void OnHoverEnter(InteractionContext context, ControllerRay controllerRay)
|
||||
{
|
||||
// Not used
|
||||
}
|
||||
|
||||
public override void OnHoverExit()
|
||||
public override void OnHoverExit(InteractionContext context, ControllerRay controllerRay)
|
||||
{
|
||||
// Not used
|
||||
}
|
||||
|
|
|
@ -30,12 +30,12 @@ public class ReturnOnRelease : MonoBehaviour
|
|||
pickupable.onDrop.AddListener(OnPickupRelease);
|
||||
}
|
||||
|
||||
public void OnPickupGrabbed()
|
||||
public void OnPickupGrabbed(InteractionContext _)
|
||||
{
|
||||
isReturning = false;
|
||||
}
|
||||
|
||||
public void OnPickupRelease()
|
||||
public void OnPickupRelease(InteractionContext _)
|
||||
{
|
||||
isReturning = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue