Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Method group is Obsolete

NetworkIdentity.localPlayerAuthority

Obsolete public bool localPlayerAuthority;

Description

localPlayerAuthority means that the client of the "owning" player has authority over their own player object.

Authority for this object will be on the player's client. So hasAuthority will be true on that client - and false on the server and on other clients.

Did you find this page useful? Please give it a rating: