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

            PearlEventsManager.RemoveAction(eventName, Invoke);
        }
        // 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);
 }