示例#1
0
    void OnEndSave()
    {
        recordButton.StartFadeIn();
        playButton.StartFadeIn();
        uploadButton.StartFadeIn();

        recordingPanelButton.GetComponentInChildren <Text>().text = "Close without uploading";

        statusMessageFader.SetText("Save Complete");
        statusMessageFader.Invoke("StartFadeOut", 1f);
    }
示例#2
0
    public static void FadeOut(Graphic graphic, float beginTime, float fadeDuration)
    {
        self.graphicsToFade.Enqueue(graphic);
        self.fadeDuration = fadeDuration;

        self.Invoke("FadeOut", beginTime);
    }