Skip to main content

Add Component > Massive Loop > Interactive > MLClickable

MLClickable Component

MLClickable component makes a GameObject clickable by player. You can register the click event and use it in variety of ways. For example, it can be used as a simple button, or you can use the Link functionality to load a URL in a link. The Link functionality is particularly useful for NFT links.

Requires

Parameters

NameDescription
ShowTextShow Text when user points on the object. Similar to on hover.
- TextThe text which shown to user when points the object
OpenURLOpens the provided link in the specified browser when object is clicked
- BrowserTypeWhere to open the link? Internal browser or external browser?
- URLThe URL to open when clicked.
ClickEvent Handler when the user clicks the object.
PointerEnterEvent Handler when the user points the pointer to the object.
PointerExitEvent Handler when the user stops pointing to the object.

API