public void EndInteraction(Steam_WandController wand) { if (wand == attachedWand) { attachedWand = null; currentlyInteracting = false; } }
public void BeginInteraction(Steam_WandController wand) { attachedWand = wand; interactionPoint.position = wand.transform.position; interactionPoint.rotation = wand.transform.rotation; interactionPoint.SetParent(transform, true); currentlyInteracting = true; }