public void TriggerReleased() { if (!enabled) { return; } if (IntroMergeReticle.instance != null) { IntroMergeReticle.instance.OffClickAction(); } //I stopped pushing the button, does the guy who would care about this still exist? if (pressedObject != null) { pressedObject.OnGazeTriggerEnd(); pressedObject = null; } //Inform anybody else who would care about this if (OnGaze_InputUp != null) { OnGaze_InputUp.Invoke(); } }
public void TriggerReleased() { if (!enabled) { return; } if (MergeReticle.instance != null) { MergeReticle.instance.OffClickAction(); } if (pressedObject != null) { pressedObject.OnGazeTriggerEnd(); pressedObject = null; } if (OnGaze_InputUp != null) { OnGaze_InputUp.Invoke(); } }