- Add
[SerializeField] ActionEvent_Subscribe yourName;
- Setup event.
You can choose
event Action
types:
- null
- int
- float
- string
- gameObject
Solution for subscribing to `event Action<>` with argument `Action`. Inspector interface the same like unityEvent
C#