A component that represents a 3D listener.
More...
Inherits CriMonoBehaviour.
A component that represents a 3D listener.
- Description:
- Usually, it is used by attaching it to the GameObject object of the camera or main character. The current position is updated automatically, so no special operation or setting is required.
void ActivateListener |
( |
bool |
exclusive = true | ) |
|
|
inline |
Make it an active listener
- Parameters
-
exclusive | Whether to make this AtomListener the only active listener |
- Description:
- When it becomes an active listener, it acts as a 3D listener for CriWare.CriAtomSource .
- Note:
- For compatibility with old plugins, when called with no arguments,
only the CriAtomListener calling this method will be active.
bool activateListenerOnEnable = false |
Whether to make it an exclusive active listener in OnEnable
- Description:
- If true, when OnEnable is called, this listener will be activated and all the other listeners will be deactivated. If false, it will become active without affecting other listeners.
This is the CriAtomEx3dListener used internally.
- Description:
- If you want to control CriAtom3dListener directly, get CriAtom3dListener from this property.
The documentation for this class was generated from the following file: