示例#1
0
 public void EndInteraction(Steam_WandController wand)
 {
     if (wand == attachedWand)
     {
         attachedWand         = null;
         currentlyInteracting = false;
     }
 }
示例#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;
    }