Retrieves the first Element instance found among the ScriptComponents attached to the given SceneObject.
Element
ScriptComponent
SceneObject
The root SceneObject to search for an Element component.
The first Element found, or null if none is present.
null
Retrieves the first
Elementinstance found among theScriptComponents attached to the givenSceneObject.