fix(NetworkRoomManager): Applied ReadOnly Attributes

This commit is contained in:
MrGadget1024 2024-01-02 14:36:18 -05:00
parent a5e4247e82
commit d494ac28b7

View File

@ -64,13 +64,13 @@ public struct PendingPlayer
/// </summary>
[Tooltip("Diagnostic flag indicating all players are ready to play")]
[FormerlySerializedAs("allPlayersReady")]
[SerializeField] bool _allPlayersReady;
[ReadOnly, SerializeField] bool _allPlayersReady;
/// <summary>
/// These slots track players that enter the room.
/// <para>The slotId on players is global to the game - across all players.</para>
/// </summary>
[Tooltip("List of Room Player objects")]
[ReadOnly, Tooltip("List of Room Player objects")]
public List<NetworkRoomPlayer> roomSlots = new List<NetworkRoomPlayer>();
public bool allPlayersReady