ImageButton - LiruJ/GuiCookie GitHub Wiki
The ImageButton controller combines the functionality of the base Button class with the functionality of the ImageBlock component.
public, OnCreated()
This is used to display the image of the button.
ClippingMode
This is used to determine how the image is drawn based on the size of the element itself.
Texture2D
The image texture that is drawn.
Color?
The colour applied to the image.
Image
The image that is displayed.
public, void
Finds the image with the given name in the ResourceManager and sets the image to it.
Throws an exception if the image with the given name does not exist.