ButtonConfigHelper.SetCharIcon(UInt32, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the character for the button. This automatically sets the button icon style to Char.
public void SetCharIcon (uint newIconChar, UnityEngine.Object newIconCharFont = default);
member this.SetCharIcon : uint32 * UnityEngine.Object -> unit
Public Sub SetCharIcon (newIconChar As UInteger, Optional newIconCharFont As Object = Nothing)
Parameters
- newIconChar
- UInt32
Unicode string for new icon character.
- newIconCharFont
- UnityEngine.Object
Optional TMPro font asset. If null, the existing font asset will be used.