mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
refactor: made fields readonly
This commit is contained in:
parent
a302c180d3
commit
aa75387d60
@ -11,9 +11,9 @@ public class NetworkIdentityEditor : Editor
|
||||
SerializedProperty serverOnlyProperty;
|
||||
SerializedProperty localPlayerAuthorityProperty;
|
||||
|
||||
GUIContent serverOnlyLabel = new GUIContent("Server Only", "True if the object should only exist on the server.");
|
||||
GUIContent localPlayerAuthorityLabel = new GUIContent("Local Player Authority", "True if this object will be controlled by a player on a client.");
|
||||
GUIContent spawnLabel = new GUIContent("Spawn Object", "This causes an unspawned server object to be spawned on clients");
|
||||
readonly GUIContent serverOnlyLabel = new GUIContent("Server Only", "True if the object should only exist on the server.");
|
||||
readonly GUIContent localPlayerAuthorityLabel = new GUIContent("Local Player Authority", "True if this object will be controlled by a player on a client.");
|
||||
readonly GUIContent spawnLabel = new GUIContent("Spawn Object", "This causes an unspawned server object to be spawned on clients");
|
||||
|
||||
NetworkIdentity networkIdentity;
|
||||
bool initialized;
|
||||
|
Loading…
Reference in New Issue
Block a user