This is the top left corner of the UI element relative to the current Hierarchy. The layout size for this element in Hierarchy space.
(string text, bool active, Sprite imageOff, Sprite imageOn, UIBtnLayout imageLayout, Vec3 topLeftCorner, Vec2 size)
| 672 | /// <param name="size">The layout size for this element in Hierarchy |
| 673 | /// space.</param> |
| 674 | public static bool RadioAt(string text, bool active, Sprite imageOff, Sprite imageOn, UIBtnLayout imageLayout, Vec3 topLeftCorner, Vec2 size) |
| 675 | { |
| 676 | bool value = active; |
| 677 | return NativeAPI.ui_toggle_img_at_16(text, ref value, imageOff?._inst ?? IntPtr.Zero, imageOn?._inst ?? IntPtr.Zero, imageLayout, topLeftCorner, size) && !active; |
| 678 | } |
| 679 | |
| 680 | /// <summary>A pressable button! A button will expand to fit the text |
| 681 | /// provided to it, vertically and horizontally. Text is re-used as the |
nothing calls this directly
no test coverage detected