Nice tutorial. Thanks a lot for the great explanation. I used that approach in my Game State Machine example @ Blog.i-evaluation.com"
Singleton is perfect way to persist object and delegates are most elegant solution for handling events I have seen so far.
The only question I would have is about destroying it. According to Unity spec Garbage Collector doesn't destroy object if there is an reference to it and so shouldn't we be subtracting handler while destroying an object?
promosquare
Marek joined
This member has provided no bio about themself...