diff options
author | chai <chaifix@163.com> | 2021-01-02 01:22:42 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-02 01:22:42 +0800 |
commit | 59755580acab0de7bfc88482b6a515b546d45cd7 (patch) | |
tree | 218b063a2fa0af05866ee177d3ed8886b91bcbec /Client/Assembly-CSharp/AmongUsClient.cs | |
parent | be6caf20c319f55fe6fa5d918859af39991a899f (diff) |
*网络
Diffstat (limited to 'Client/Assembly-CSharp/AmongUsClient.cs')
-rw-r--r-- | Client/Assembly-CSharp/AmongUsClient.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Client/Assembly-CSharp/AmongUsClient.cs b/Client/Assembly-CSharp/AmongUsClient.cs index f417c16..41f110e 100644 --- a/Client/Assembly-CSharp/AmongUsClient.cs +++ b/Client/Assembly-CSharp/AmongUsClient.cs @@ -312,6 +312,7 @@ public class AmongUsClient : InnerNetClient } } + // 删除某个角色对象gameobject protected override void OnPlayerLeft(ClientData data, DisconnectReasons reason) { if (DestroyableSingleton<GameStartManager>.InstanceExists) @@ -372,7 +373,7 @@ public class AmongUsClient : InnerNetClient SceneManager.LoadScene(this.MainMenuScene); } - //c 切换场景 + //c 切换场景时的回调 protected override void OnPlayerChangedScene(ClientData client, string currentScene) { client.InScene = true; |