Szerkesztés

Megosztás a következőn keresztül:


ButtonIconSet.EditorDrawSpriteIconSelector Method

Definition

Overloads

EditorDrawSpriteIconSelector(Sprite, Boolean, Sprite, Int32)

Draws a selectable grid of sprite icons.

EditorDrawSpriteIconSelector(Sprite, Sprite, Int32)

Draws a selectable grid of sprite icons.

EditorDrawSpriteIconSelector(Sprite, Boolean, Sprite, Int32)

Draws a selectable grid of sprite icons.

public bool EditorDrawSpriteIconSelector (UnityEngine.Sprite currentSprite, out bool foundSprite, out UnityEngine.Sprite newSprite, int indentLevel = 0);
member this.EditorDrawSpriteIconSelector : UnityEngine.Sprite * bool * Sprite * int -> bool
Public Function EditorDrawSpriteIconSelector (currentSprite As Sprite, ByRef foundSprite As Boolean, ByRef newSprite As Sprite, Optional indentLevel As Integer = 0) As Boolean

Parameters

currentSprite
UnityEngine.Sprite
foundSprite
Boolean
newSprite
UnityEngine.Sprite
indentLevel
Int32

Returns

True if a new icon was selected.

Applies to

EditorDrawSpriteIconSelector(Sprite, Sprite, Int32)

Draws a selectable grid of sprite icons.

public bool EditorDrawSpriteIconSelector (UnityEngine.Sprite currentSprite, out UnityEngine.Sprite newSprite, int indentLevel = 0);
member this.EditorDrawSpriteIconSelector : UnityEngine.Sprite * Sprite * int -> bool
Public Function EditorDrawSpriteIconSelector (currentSprite As Sprite, ByRef newSprite As Sprite, Optional indentLevel As Integer = 0) As Boolean

Parameters

currentSprite
UnityEngine.Sprite
newSprite
UnityEngine.Sprite
indentLevel
Int32

Returns

True if a new icon was selected.

Applies to