Documentation for the Unity C# Library
Loading...
Searching...
No Matches
FadeRegister.cs
Go to the documentation of this file.
1using PixoVR.Fade;
2using UnityEngine;
3
5{
6 public class FadeRegister : MonoBehaviour
7 {
8 [SerializeField]
9 FadeSerice fadeController;
10 private void Awake()
11 {
13 //EventBetter.Listen(this, (FadeInEvent fade) => { fadeController.FadeIn(fade.callback); });
14 //EventBetter.Listen(this, (FadeOutEvent fade) => { fadeController.FadeOut(fade.callback); });
15 }
16 private void OnDestroy()
17 {
19 }
20 }
21}
FadeSerice fadeController
[SerializeField]
Unity components communication service.