Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CurrentPlayer

Utility class to access information about the multiplayer play mode player while in playmode.
Read time 1 minuteLast updated 4 days ago

Definition

public static class CurrentPlayer

Static Properties

Property

Description

IsMainEditorIndicates if the currently running player is the main editor.
TagsReturns the tag(s) assigned to the currently running player. This property is read-only and should be used to access the tags without modifying them.