#Grab gameObject name with a hover Event Trigger

1 messages · Page 1 of 1 (latest)

vast crest
#

Good evening, i'm having trouble trying to get the gameObject name from an image.
I have a canvas with some images inside these images has an event trigger with a Point Enter.
The Point Enter fetches the script from a gameObject called EventSystem.

grizzled fulcrum
#

hi there! can you elaborate a bit more? what are these images? are they like sprites added to game objects?

#

or are these raw images added to canvas?

vast crest
#

is an image containing a sprite

grizzled fulcrum
#

checking the video

#

where do you set imageClicked private variable in LoadInfo?

vast crest
#

is under the event trigger, it is already working

grizzled fulcrum
#

nice!

vast crest
#

by the way do you know why this crash happened, it started happening out of the blue

vast crest
vast crest
#

okok np

grizzled fulcrum
#

good luck with your project!

vast crest
#

Ty so much