Skip to content

Commit

Permalink
Big ENS Update
Browse files Browse the repository at this point in the history
  • Loading branch information
AncientEntity committed Dec 29, 2020
1 parent 64bce52 commit dafea78
Show file tree
Hide file tree
Showing 25 changed files with 1,588 additions and 558 deletions.
Binary file modified .vs/EntityNetworkingSystems/v16/.suo
Binary file not shown.
442 changes: 223 additions & 219 deletions Assembly-CSharp.csproj

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions Assets/EntityNetworkingSystems/Examples/Scenes/TestScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ MonoBehaviour:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
Expand Down Expand Up @@ -481,6 +482,7 @@ MonoBehaviour:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
Expand Down Expand Up @@ -718,6 +720,7 @@ MonoBehaviour:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
Expand Down Expand Up @@ -795,6 +798,7 @@ MonoBehaviour:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
Expand Down Expand Up @@ -939,6 +943,7 @@ MonoBehaviour:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
Expand Down Expand Up @@ -1068,6 +1073,7 @@ MonoBehaviour:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
Expand Down Expand Up @@ -1179,6 +1185,7 @@ MonoBehaviour:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
Expand Down Expand Up @@ -1369,6 +1376,7 @@ MonoBehaviour:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
Expand Down Expand Up @@ -1461,6 +1469,16 @@ PrefabInstance:
propertyPath: netServer.hostPort
value: 44594
objectReference: {fileID: 0}
- target: {fileID: 7745350244653862988, guid: 02188897ea456634dbc92f4ced9a9f72,
type: 3}
propertyPath: netServer.useSteamworks
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7745350244653862989, guid: 02188897ea456634dbc92f4ced9a9f72,
type: 3}
propertyPath: netClient.useSteamworks
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7745350244653862990, guid: 02188897ea456634dbc92f4ced9a9f72,
type: 3}
propertyPath: m_Name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public void ConnectToServer()
netClient.ConnectToServer(ip,port);
NetTools.onJoinServer.AddListener(delegate { InitializePlayer(); });
NetTools.onLeaveServer.AddListener(delegate { SceneManager.LoadSceneAsync("TestScene", LoadSceneMode.Single); });

netClient.PostConnectStart();
}

public void Disconnect()
Expand Down
Loading

0 comments on commit dafea78

Please sign in to comment.