Ejemplo n.º 1
0
    private static void OnOutroComplete()
    {
        Scenes.UnloadAsync(SCENENAME);
        if (wish.message != null)
        {
            wish.message.OnOutroComplete();
        }

        wish           = null;
        animator       = null;
        isInTransition = false;
    }
 private static void ClearData()
 {
     wish           = null;
     animator       = null;
     isInTransition = false;
 }
 private static void OnLoadingScreenLoaded(Scene scene)
 {
     animator = scene.FindRootObject <LoadingScreenAnimation>();
     animator.Intro(OnIntroComplete);
     animator.onCancel = ClearData;
 }
Ejemplo n.º 4
0
 private static void OnLoadingScreenLoaded(Scene scene)
 {
     animator = Scenes.FindRootObject <LoadingScreenAnimation>(scene);
     animator.Intro(OnIntroComplete);
 }