eDriven Framework API
GetGameObject Method (component)
Namespaces ► eDriven.Gui.Designer ► GuiLookup ► GetGameObject(Component)
eDriven Framework API
Gets the parent game object to which a component adapter is attached to
If this component is not being attached directly, but as a part of the container,
the container registered in component adapter collection is returned
Declaration Syntax

C# | Visual Basic | Visual C++

    public static GameObject GetGameObject(
    	Component component
    )

    Public Shared Function GetGameObject ( _
    	component As Component _
    ) As GameObject

    public:
    static GameObject^ GetGameObject(
    	Component^ component
    )

Parameters

component (Component)
  Component to get the game object for

Return Value

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