Esempio n. 1
0
 public void Call(GameObject parameter)
 {
     PearlEventsManager.CallEvent(pearlEvent, eventType, parameter);
 }
Esempio n. 2
0
 public void Call(float parameter)
 {
     PearlEventsManager.CallEvent(pearlEvent, eventType, parameter);
 }
Esempio n. 3
0
 public void Call()
 {
     PearlEventsManager.CallEvent(pearlEvent, eventType);
 }
Esempio n. 4
0
        protected override void OnDisable()
        {
            base.OnDisable();

            PearlEventsManager.RemoveAction(eventName, Invoke);
        }
Esempio n. 5
0
        // Start is called before the first frame update
        protected override void Awake()
        {
            base.Awake();

            PearlEventsManager.AddAction(eventName, Invoke);
        }
 private void OnDisable()
 {
     PearlEventsManager.RemoveAction <T>(eventName, Invoke);
 }
 // Start is called before the first frame update
 private void Awake()
 {
     PearlEventsManager.AddAction <T>(eventName, Invoke);
 }