編輯

共用方式為


ButtonIconSet.EditorDrawQuadIconSelector Method

Definition

Draws a selectable grid of texture icons.

public bool EditorDrawQuadIconSelector (UnityEngine.Texture currentTexture, out bool foundTexture, out UnityEngine.Texture newTexture, int indentLevel = 0);
member this.EditorDrawQuadIconSelector : UnityEngine.Texture * bool * Texture * int -> bool
Public Function EditorDrawQuadIconSelector (currentTexture As Texture, ByRef foundTexture As Boolean, ByRef newTexture As Texture, Optional indentLevel As Integer = 0) As Boolean

Parameters

currentTexture
UnityEngine.Texture
foundTexture
Boolean
newTexture
UnityEngine.Texture
indentLevel
Int32

Returns

True if a new icon was selected.

Applies to