#What are the best practices on Subscribing and AddListener etc.?

1 messages · Page 1 of 1 (latest)

grave oxide
spiral river
#

Start/Destroy or Enable/Disable depending on what behaviour you want. I.e. should the events unsubscribe if you disable your object. If it never gets disabled that it doesn't really matter, I would go with Enable/Disable though for consistancy.

wet rampart
#

I always try to maintain "symmetry"

#

Awake / Start + Destroy or OnEnable + OnDisable