12345678910111213141516171819202122232425262728293031323334 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- //public enum FadeType { FadeIn, FadeOut }
- public class FadeController
- {
- //FadeScreen fadeScreen;
- //public FadeController()
- //{
- // fadeScreen = GameObject.FindObjectOfType<FadeScreen>();
- //}
- //public void Finished(FadeType type)
- //{
- //if (OnFadeComplete != null)
- // OnFadeComplete(type);
- //}
- //public void FadeIn(float speed)
- //{
- // fadeScreen.Enable(speed, FadeType.FadeIn, this);
- //}
- //public void FadeOut(float speed)
- //{
- // fadeScreen.Enable(speed, FadeType.FadeOut, this);
- //}
- }
|