void NextButtonPanelClosed(Panel_Base panel) { //Unsubscribe flangeBeing.Stop(); nextButtonPanel.panelDeactivatedEvent -= NextButtonPanelClosed; VuforiaManager.Instance.DisableTrackerIndex(4); SequenceManager.Instance.GoToNextSequence(); }
void GoToNextSequence(DOW_Button panel) { VuforiaManager.Instance.DisableTrackerIndex(2); if (gaugeBeing != null) { gaugeBeing.Stop(); } timerPanel.GetNextButton().ButtonPressEvent -= GoToNextSequence; //Sequence complete SequenceManager.Instance.GoToNextSequence(); //TODO: The next seqeuence might need to be merged into this one }
public void StopBlinking() { //if(blinkRoutine!=null) // StopCoroutine(blinkRoutine); //blinkRoutine = null; if (being != null) { being.Stop(); } //gameObject.transform.localScale = Vector3.one; }
void Stop() { being.Stop(); }