MLSpeaker
info
MLSpeaker inherits from Component
API for MLSpeaker component. MLSpeaker receives audio data from microphone to be played.
Members
Properties
Name | Description |
---|---|
MLSpeaker .SpeakerActive | Is the speaker active? |
Inherited Members
Inherited Properties
Name | Description |
---|---|
MLSpeaker .gameObject | The game object this component is attached to. A component is always attached to a game object. |
MLSpeaker .tag | The tag of this game object. |
MLSpeaker .transform | The Transform attached to this GameObject. |
MLSpeaker .hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
MLSpeaker .name | The name of the object. |
Inherited Methods
Name | Description |
---|---|
MLSpeaker .BroadcastMessage(methodName, parameter=nil) | Calls the method named methodName on every Lua Script in this game object or any of its children. |
MLSpeaker .CompareTag(tag) | Is this game object tagged with tag ? |
MLSpeaker .GetAllLuaScripts() | Returns an array of all Lua scripts that attached to the game object. |
MLSpeaker .GetComponent(type) | Returns the component of Type type if the game object has one attached, nil if it doesn't. |
MLSpeaker .GetComponentInChildren(t) | Returns the component of Type type in the GameObject or any of its children using depth first search. |
MLSpeaker .GetComponentInParent(t) | Returns the component of Type type in the GameObject or any of its parents. |
MLSpeaker .GetComponents(type) | Returns all components of Type type in the GameObject. |
MLSpeaker .GetComponentsInChildren(t) | Returns all components of Type type in the GameObject or any of its children. |
MLSpeaker .GetComponentsInParent(t) | Returns all components of Type type in the GameObject or any of its parents. |
MLSpeaker .SendMessage(methodName, value=nil) | Calls the method named methodName on every Lua Script in this game object. |
MLSpeaker .SendMessageUpwards(methodName, value=nil) | Calls the method named methodName on every LuaScript in this game object and on every ancestor of the behaviour. |
MLSpeaker .TryGetComponent(type) | Gets the component of the specified type, if it exists. |
MLSpeaker .GetInstanceID() | Returns the instance id of the object. |