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

        currentlyInteracting = true;
    }