API reference
API reference
Select your platform
No SDKs available
No versions available

VoiceSetup Class

Extends MonoBehaviour
The class responsible for setting up the Speaker game object, with the requirements for having networked player voice over Photon Fusion and also lip sync for the Meta Avatars.
For the full documentation of Voice Network over Photon Fusion, see https://doc.photonengine.com/voice/current/getting-started/voice-for-fusion#.

Fields

centerEyeAnchor : Transform
The transform of the center eye anchor of player, usually present in the player's OVRCameraRig.
Must be set before the game object's Awake() method is called.
Signature
Transform centerEyeAnchor

Properties

Speaker : GameObject
[Get]
The GameObject that will be set up and hold the speaker behaviours.
Must be set before the game object's Awake() method is called.
Signature
GameObject Speaker