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

PlayerNameTagSpawnerFusion Class

Extends MonoBehaviour
The class responsible for the networking part of spawning a player's name tag when using the Photon Fusion networking framework.
It implements the INameTagSpawner interface and is used by PlayerNameTagSpawner which handles the non-networking logic.

Properties

IsConnected : bool
[Get]
Indicates whether this player has fully connected to the game/app room.
You can use this to determine when to spawn the name tag. An implementation of the INameTagSpawner interface.
Signature
bool Meta.XR.MultiplayerBlocks.Fusion.PlayerNameTagSpawnerFusion.IsConnected

Methods

Spawn ( playerName )
Spawns the name tag with the given username for this player.
An implementation of the INameTagSpawner interface.
Signature
void Meta.XR.MultiplayerBlocks.Fusion.PlayerNameTagSpawnerFusion.Spawn(string playerName)
Parameters
playerName: string  The selected username for this player.
Returns
void