Hello, I have a script called TextFile, that I only want to enable once I pickup the text file game object, it has a lot of stuff that I must set AFTER I pick it up. Some of those stuff are accessed in events such as OnHover, so if I hover over the gameobject with the TextFile BEFORE picking it up I get en exception, things are not set yet. So all I should do, is disable the script at first, and when I pick it up (which is done from another FilePickupScript attached to the game object as well) I enable the TextFile and assign the missing stuff.
But the problem is, even though I disabled the TextFile script, its events still got triggered! (OnHover got called!)
What is going on? why is this happening?