Hi guys, i have a small problem : In the script reference “MonoBehaviour.OnMouseEnter” has to be attached to the gameobject, but i my script i create a texture like this : GUI.DrawTexture(Rect(123, 14, hpBarLength, 30), HpBarTexture);
And i want to apply OnMouseEnter to the texture, so how i do it ?