public void Call(GameObject parameter) { PearlEventsManager.CallEvent(pearlEvent, eventType, parameter); }
public void Call(float parameter) { PearlEventsManager.CallEvent(pearlEvent, eventType, parameter); }
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); }