private void EndCutscene() { RenderTexture renderTexture = new RenderTexture((int)this.backgroundSize.x, (int)this.backgroundSize.y, 16); renderTexture.antiAliasing = 2; this.mainCam.targetTexture = renderTexture; this.lightLocatorRoot.SetActive(false); this.endState = ChipGashaController.EndState.FINISH_RENDER_TEXTURE; }
private void StartFadeOut() { this.endState = ChipGashaController.EndState.FADE_OUT; this.allSkipButton.Hide(); this.fade.StartFadeOut(new Action(this.EndCutscene)); }