void OnEnabled()

Summary

Called after Awake or whenever the component switches to being enabled (because a gameobject heirachy active change, or the component changed)
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.