private void OnLetsRollButtonClick() { root.submitButton.GetComponent <Button>().onClick.RemoveListener(OnLetsRollButtonClick); root.HideSubmitButton(); StartTransitionOut(); }
private void OnGotItButtonClick() { UIManager.Instance.soundManager.PlaySound("PlaySineWaveHighPitch"); root.submitButton.GetComponent <Button>().onClick.RemoveListener(OnGotItButtonClick); root.HideSubmitButton(); StartTransitionOut(); }
private void TransitionInCompleted() { // add cust preferences click customerPrefBtn.GetComponent <Image>().raycastTarget = true; customerPrefBtn.GetComponent <Button>().onClick.AddListener(OnCustPrefClick); // start the game time if (!hasInitialized) { root.InitializeTimeClock(); } else { root.HideSubmitButton(); root.ShowClockIsRunningSign(); root.StartClock(); root.HideClockIsStoppedSign(); } hasInitialized = true; }