Example #1
0
 private void StoreArrow(XRBaseInteractable interactable)
 {
     if (interactable is _Arrow arrow)
     {
         currentArrow = arrow;
     }
 }
Example #2
0
 private void ReleaseArrow()
 {
     currentArrow.Release(puller.PullAmount);
     Debug.Log("Release");
     currentArrow = null;
 }
Example #3
0
 private void SelectArrow(_Arrow arrow)
 {
     OnSelectEnter(arrow);
     arrow.OnSelectEnter(this);
 }
Example #4
0
 private void ReleaseArrow()
 {
     currentArrow.Release(puller.PullAmount);
     currentArrow = null;
 }
Example #5
0
    private void CreateAndSelectArrow()
    {
        _Arrow arrow = CreateArrow();

        SelectArrow(arrow);
    }