UI.ButtonRoundAt

static bool ButtonRoundAt(string id, Sprite image, Vec3 topLeftCorner, float diameter)

A variant of UI.ButtonRound that doesn’t use the layout system, and instead goes exactly where you put it.

   
string id An id for tracking element state. MUST be unique within current hierarchy.
Sprite image An image to display as the face of the button.
Vec3 topLeftCorner This is the top left corner of the UI element relative to the current Hierarchy.
float diameter The diameter of the button’s visual.
RETURNS: bool Will return true only on the first frame it is pressed!




Found an issue with these docs, or have some additional questions? Create an Issue on Github!