I am using a prefab which has a button. I have added an object (which is also part of prefab) whose "Show()" method is added as a listener to the button.
When I hit play, and check in inspector, the button listeners are empty and so the button doesn't work. Can anyone help me find why the listeners are getting cleared. I have set the listener setting to Editor and run time.