Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Awake()
 {
     EventFactor.AddListener(EventType.Refresh_Text, RefreshText);
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     EventFactor.Notify(EventType.Refresh_Text);
 }
Ejemplo n.º 3
0
 private void OnDisable()
 {
     EventFactor.RemoveListener(EventType.Refresh_Text, RefreshText);
 }