Skip to content

API > MLStreamingBrowser


MLStreamingBrowser⚓︎

MLStreamingBrowser inherits from Component

API interface to MLStreamingBrowser.

Members⚓︎

Properties⚓︎

Name Description
MLStreamingBrowser.IsReadyPropertyReadonly Property Is the browser fully initialized?
MLStreamingBrowser.IsURLStaticPropertyReadonly Property Can the browser URL set in runtime?
MLStreamingBrowser.URLPropertyReadonly Property Current browser URL

Methods⚓︎

Name Description
MLStreamingBrowser.PassInput(key, isDown) Method Pass input keyboard input to the browser. Useful for creating interface to a online game, or tool that currently loaded by browser.

Inherited Members⚓︎

Inherited Properties⚓︎

Name Description
MLStreamingBrowser.gameObjectPropertyReadonly Property The game object this component is attached to. A component is always attached to a game object.
MLStreamingBrowser.tagPropertyReadonly Property The tag of this game object.
MLStreamingBrowser.transformPropertyReadonly Property The Transform attached to this GameObject.
MLStreamingBrowser.hideFlagsProperty Should the object be hidden, saved with the Scene or modifiable by the user?
MLStreamingBrowser.nameProperty The name of the object.

Inherited Methods⚓︎

Name Description
MLStreamingBrowser.BroadcastMessage(methodName, parameter=nil)Method Calls the method named methodName on every Lua Script in this game object or any of its children.
MLStreamingBrowser.CompareTag(tag)Method Is this game object tagged with tag ?
MLStreamingBrowser.GetAllLuaScripts()Method Returns an array of all Lua scripts that attached to the game object.
MLStreamingBrowser.GetComponent(type)Method Returns the component of Type type if the game object has one attached, nil if it doesn't.
MLStreamingBrowser.GetComponentInChildren(t)Method Returns the component of Type type in the GameObject or any of its children using depth first search.
MLStreamingBrowser.GetComponentInParent(t)Method Returns the component of Type type in the GameObject or any of its parents.
MLStreamingBrowser.GetComponents(type)Method Returns all components of Type type in the GameObject.
MLStreamingBrowser.GetComponentsInChildren(t)Method Returns all components of Type type in the GameObject or any of its children.
MLStreamingBrowser.GetComponentsInParent(t)Method Returns all components of Type type in the GameObject or any of its parents.
MLStreamingBrowser.SendMessage(methodName, value=nil)Method Calls the method named methodName on every Lua Script in this game object.
MLStreamingBrowser.SendMessageUpwards(methodName, value=nil)Method Calls the method named methodName on every LuaScript in this game object and on every ancestor of the behaviour.
MLStreamingBrowser.TryGetComponent(type)Method Gets the component of the specified type, if it exists.
MLStreamingBrowser.GetInstanceID()Method Returns the instance id of the object.