void OnEndSave() { recordButton.StartFadeIn(); playButton.StartFadeIn(); uploadButton.StartFadeIn(); recordingPanelButton.GetComponentInChildren <Text>().text = "Close without uploading"; statusMessageFader.SetText("Save Complete"); statusMessageFader.Invoke("StartFadeOut", 1f); }
public static void FadeOut(Graphic graphic, float beginTime, float fadeDuration) { self.graphicsToFade.Enqueue(graphic); self.fadeDuration = fadeDuration; self.Invoke("FadeOut", beginTime); }