Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

If you're doing the signature region using Unity UI, you can have it so that the signature hitbox blocks raycasts by adding a Canvas Group component to it. This will make it so that whenever Unity detects that you're hovering over the signature region, it blocks it from also detecting that you're hovering over the paper object behind it.

wait... So the paper and table is in UI? Not gamespace?

Yea I programmed them with Unity UI because it automatically handles raycast blocking and mouse events. But I set all UI canvases to render in world space so that I can move them around like normal game objects.

Ahhh... that's explain everything... i'll try it later... right now i'm joining jam hahaha.... weekly game jam actually.... Ty for your kindness sir, i'll ask again if i have problem...