4.x syntax

This commit is contained in:
Paul Pacheco 2019-01-30 07:20:52 -06:00
parent 39385d15ee
commit 4bc87f74fd

View File

@ -22,9 +22,9 @@ internal static void SetNotReady()
static List<uint> s_PendingOwnerNetIds = new List<uint>();
public static NetworkIdentity localPlayer { get { return s_LocalPlayer; } }
public static bool ready { get { return s_IsReady; } }
public static NetworkConnection readyConnection { get { return s_ReadyConnection; }}
public static NetworkIdentity localPlayer => s_LocalPlayer;
public static bool ready => s_IsReady;
public static NetworkConnection readyConnection => s_ReadyConnection;
public static Dictionary<Guid, GameObject> prefabs = new Dictionary<Guid, GameObject>();
// scene id to NetworkIdentity