eDriven Framework API
FindComponent<(Of <(<'T>)>)> Method (go, id)
Namespaces ► eDriven.Gui.Designer ► GuiLookup ► FindComponent<(Of <<'(T>)>>)(GameObject, String)
eDriven Framework API
Finds a gui element in children. If such an element exists, returns it; if not, returns null
Declaration Syntax

C# | Visual Basic | Visual C++

    public static T FindComponent<T>(
    	GameObject go,
    	string id
    )
    where T : Component

    Public Shared Function FindComponent(Of T As Component) ( _
    	go As GameObject, _
    	id As String _
    ) As T

    public:
    generic<typename T>
    where T : Component
    static T FindComponent(
    	GameObject^ go,
    	String^ id
    )

Generic Template Parameters

T
  Type of the adapter to find

Parameters

go (GameObject)
  Game object on which to do the search

id (String)
  Adapter ID

Return Value

Assembly: eDriven.Gui.Designer (Module: eDriven.Gui.Designer) Version: 2.0.1.0 (2.0.1.0)