Ejemplo n.º 1
0
 public void EndInteraction(FlyStickSim wand)
 {
     if (wand == attachedWandSim) //not needed for us
     {
         attachedWandSim      = null;
         currentlyInteracting = false;
     }
 }
Ejemplo n.º 2
0
    public void BeginInteraction(FlyStickSim wand)
    {
        attachedWandSim           = wand;
        interactionPoint.position = wand.transform.position;
        interactionPoint.rotation = wand.transform.rotation;
        interactionPoint.SetParent(transform, true);

        currentlyInteracting = true;
    }