SceneToTitle.cs 233 B

1234567891011
  1. using System;
  2. using UnityEngine;
  3. public class SceneToTitle : MonoBehaviour
  4. {
  5. private void Start()
  6. {
  7. GameMain.Instance.MainCamera.FadeOut(0f, false, null, true, default(Color));
  8. GameMain.Instance.Deserialize(-1, true);
  9. }
  10. }