Editar

Partilhar via


ButtonIconSet.TryGetQuadIcon(String, Texture2D) Method

Definition

Searches for a quad texture by name.

public:
 bool TryGetQuadIcon(System::String ^ iconName, [Runtime::InteropServices::Out] UnityEngine::Texture2D ^ % quadIcon);
public bool TryGetQuadIcon (string iconName, out UnityEngine.Texture2D quadIcon);
member this.TryGetQuadIcon : string * Texture2D -> bool
Public Function TryGetQuadIcon (iconName As String, ByRef quadIcon As Texture2D) As Boolean

Parameters

iconName
String
quadIcon
UnityEngine.Texture2D

Returns

True if quad icon was found.

Applies to