public IEnumerator Fade(SimpleFade.Fade fade, Action fadeWaitProc = null) { // ISSUE: object of a compiler-generated type is created return((IEnumerator) new Scene.\u003CFade\u003Ec__Iterator7() { fade = fade, fadeWaitProc = fadeWaitProc, \u0024this = this }); }
public void FadeSet(SimpleFade.Fade fade, float time = -1f, Texture2D tex = null) { this._Fade = fade; if ((double)time != -1.0) { this._Time = time; } if (Object.op_Inequality((Object)tex, (Object)null)) { this._Texture = tex; } this.Init(); }
private void FadeInOutStart(SimpleFade.FadeInOut set) { if (set != null) { this.fadeInOut = set; } if (this.fadeInOut == null) { return; } this._Fade = set == null ? SimpleFade.Fade.Out : SimpleFade.Fade.In; this._Time = set == null ? this.fadeInOut.outTime : this.fadeInOut.inTime; this._Color = set == null ? this.fadeInOut.outColor : this.fadeInOut.inColor; this.fadeInOut = set; this.Init(); }