void Start() { Playing = true; startTime = 0.0f; WinText.text = "Rush my little kitten!"; DelayedAction(2.0f, delegate { WinText.text = "! RUSH !"; DelayedAction(1.5f, delegate { WinText.text = ""; }); }); Faider = ScreenFaider.instance; Faider.SetTo(Color.black); Faider.FadeOut(Color.black, FadeSpeed, null); }
void Start() { Faider = ScreenFaider.instance; Faider.SetTo(Color.black); Faider.FadeOut(Color.black, FadeSpeed, delegate { loading = false; if (AutoLoad) { DelayedAction(AutoLoadTime, delegate { LoadNextScene(ExitScene); }); } }); }
void Start() { GameOverText.text = ""; StartText.text = "Wake up my little dwarf..."; DelayedAction(3.0f, delegate { StartText.text = "... it is time to get those diamonds ..."; DelayedAction(3.0f, delegate { StartText.text = "! Mine, Mine, Mine !"; DelayedAction(2f, delegate { StartText.text = ""; }); }); }); Faider = ScreenFaider.instance; Faider.SetTo(Color.black); Faider.FadeOut(Color.black, FadeSpeed, null); }