◆ AddListener()
| void IuvoUnity.Events.FlexibleEvent.AddListener |
( |
Action | listener | ) |
|
34 {
35 internalEvent += listener;
36
37 }
References internalEvent.
◆ AddUnityListener()
| void IuvoUnity.Events.FlexibleEvent.AddUnityListener |
( |
UnityAction | listener | ) |
|
48 {
49 unityEvent.AddListener(listener);
50 }
References unityEvent.
◆ Invoke()
| void IuvoUnity.Events.FlexibleEvent.Invoke |
( |
| ) |
|
◆ RemoveAllFlexibleEventListeners()
| void IuvoUnity.Events.FlexibleEvent.RemoveAllFlexibleEventListeners |
( |
| ) |
|
60 {
61
62
63
64
65
66 internalEvent = null;
67
68 unityEvent.RemoveAllListeners();
69 }
References internalEvent, and unityEvent.
◆ RemoveListener()
| void IuvoUnity.Events.FlexibleEvent.RemoveListener |
( |
Action | listener | ) |
|
41 {
42 internalEvent -= listener;
43
44 }
References internalEvent.
◆ RemoveUnityListener()
| void IuvoUnity.Events.FlexibleEvent.RemoveUnityListener |
( |
UnityAction | listener | ) |
|
54 {
55 unityEvent.RemoveListener(listener);
56 }
References unityEvent.
◆ unityEvent
◆ UnityEvent
| UnityEvent IuvoUnity.Events.FlexibleEvent.UnityEvent |
|
get |
◆ internalEvent
| Action IuvoUnity.Events.FlexibleEvent.internalEvent |
|
private |
The documentation for this class was generated from the following file: