Пример #1
0
 public void EndInteraction(FlyStickSim wand)
 {
     if (wand == attachedWandSim) //not needed for us
     {
         attachedWandSim      = null;
         currentlyInteracting = false;
     }
 }
Пример #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;
    }