Edit

Share via


ButtonConfigHelper.SetSpriteIcon(Sprite) Method

Definition

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

Applies to