Dear Unity Devs,why does my OnHover mouse event not trigger on STANDALONE?Or How do trigger ONHOVER?
Channel:
Subscribers:
444
Published on ● Video Link: https://www.youtube.com/watch?v=gepPAZzG5G4
public class HoverCat : MonoBehaviour//,IPointerEnterHandler,IPointerExitHandler
{
public Entity publicEntity;
private void Awake()
{
}
void OnHover(bool isHovering)//works in editor, not on standalone
//void OnMouseOver()//did not work in editor
//public void OnPointerEnter(PointerEventData eventData)//did not work in editor
{
if (isHovering)
{
Debug.LogError("ISHOVERINGC ALLED");
}
}
}
Other Videos By GoodNewsJim
Tags:
Jesus
God
love
peace
gamer
indie
developer
indiedev
gamedev
mmo
programmer
xwing
tiefighter
star wars
starwars
startrek
picard
kirk
futurama
cowboy bebop
anime
space
scifi
lightsaber
laser
spaceship
eve
eveonline
elite
elitedangerous
lucasarts
earth and beyond
earth & beyond
no mans sky
kerbal
stellaris
destiny
fortnight
pubg
minecraft
roblox
mass effect
everspace
fortnite
mmorpg
final fantasy
WOW
NASA
mandelorian
marvel
dc
tech
unity
ecs
dots
disney
factorio
satisfactory
new