ButtonConfigHelper.SetSpriteIcon(Sprite) 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 sprite for the button. This automatically sets the button icon style to Sprite.
public:
void SetSpriteIcon(UnityEngine::Sprite ^ newIconSprite);
public void SetSpriteIcon (UnityEngine.Sprite newIconSprite);
member this.SetSpriteIcon : UnityEngine.Sprite -> unit
Public Sub SetSpriteIcon (newIconSprite As Sprite)
Parameters
- newIconSprite
- UnityEngine.Sprite