文档

Unity Engine

Unity Engine

CurrentPlayer

Utility class to access information about the multiplayer play mode player while in playmode.
阅读时间1 分钟最后更新于 1 个月前

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.