Next: TeamRespawner, Previous: Photon Room Joined Message, Up: Network [Contents][Index]
Photon Team Object allows team-based play by changing team indicators, tags and layers. Each team should have it’s own tag and layer. If you want to spawn team-based objects, you need a PhotonInstantiator component, which will cause anything it spawns to inherit it’s team.
bool
hideTeamLocallyShould we keep the team indicator object hidden for the local player?
Default value: true
Changes the object’s team
Argument: The new team for the object
bool
hideTeamLocallyShould we keep the team indicator object hidden for the local player?
Default value: true
Changes the object’s team
Argument: The new team for the object