A pressable button! A button will expand to fit the text provided to it, vertically and horizontally. Text is re-used as the id. Will return true only on the first frame it is pressed! An id for tracking element state. MUST be unique within current hierarchy. An image to display as the face of the button. <param name="diamet
(string id, Sprite image, float diameter = 0)
| 689 | /// <returns>Will return true only on the first frame it is pressed! |
| 690 | /// </returns> |
| 691 | public static bool ButtonRound(string id, Sprite image, float diameter = 0) |
| 692 | => NativeAPI.ui_button_round_16(id, image?._inst ?? IntPtr.Zero, diameter); |
| 693 | |
| 694 | /// <summary>A variant of UI.ButtonRound that doesn't use the layout |
| 695 | /// system, and instead goes exactly where you put it.</summary> |
no test coverage detected