FadeController.cs 667 B

12345678910111213141516171819202122232425262728293031323334
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. //public enum FadeType { FadeIn, FadeOut }
  5. public class FadeController
  6. {
  7. //FadeScreen fadeScreen;
  8. //public FadeController()
  9. //{
  10. // fadeScreen = GameObject.FindObjectOfType<FadeScreen>();
  11. //}
  12. //public void Finished(FadeType type)
  13. //{
  14. //if (OnFadeComplete != null)
  15. // OnFadeComplete(type);
  16. //}
  17. //public void FadeIn(float speed)
  18. //{
  19. // fadeScreen.Enable(speed, FadeType.FadeIn, this);
  20. //}
  21. //public void FadeOut(float speed)
  22. //{
  23. // fadeScreen.Enable(speed, FadeType.FadeOut, this);
  24. //}
  25. }