giggioz
New member
- Joined
- Oct 10, 2021
- Messages
- 2
- Programming Experience
- 3-5
Hi,
how do you create a class that can be chained with some methods (OnStart, OnComplete, OnUpdate, etc...) that accept callbacks as parameters and trigger them later on?
instanceOfClass.OnStart(myStartFunction).OnComplete(myCompleteFunction);
Thanks!
how do you create a class that can be chained with some methods (OnStart, OnComplete, OnUpdate, etc...) that accept callbacks as parameters and trigger them later on?
instanceOfClass.OnStart(myStartFunction).OnComplete(myCompleteFunction);
Thanks!