private void EndCutscene() { RenderTexture renderTexture = new RenderTexture((int)this.backgroundSize.x, (int)this.backgroundSize.y, 16); renderTexture.antiAliasing = 2; this.mainCam.targetTexture = renderTexture; for (int i = 0; i < this.goCardList.Count; i++) { UnityEngine.Object.Destroy(this.goCardList[i]); } this.endState = TicketGashaController.EndState.FINISH_RENDER_TEXTURE; }
private void StartFadeOut() { this.endState = TicketGashaController.EndState.FADE_OUT; this.allSkipButton.Hide(); this.fade.StartFadeOut(new Action(this.EndCutscene)); }