From 59755580acab0de7bfc88482b6a515b546d45cd7 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 2 Jan 2021 01:22:42 +0800 Subject: =?UTF-8?q?*=E7=BD=91=E7=BB=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/Assembly-CSharp/PlayerControl.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Client/Assembly-CSharp/PlayerControl.cs') diff --git a/Client/Assembly-CSharp/PlayerControl.cs b/Client/Assembly-CSharp/PlayerControl.cs index ceed276..961f169 100644 --- a/Client/Assembly-CSharp/PlayerControl.cs +++ b/Client/Assembly-CSharp/PlayerControl.cs @@ -8,7 +8,8 @@ using InnerNet; using PowerTools; using UnityEngine; -// 这个结构没有要同步的数据,但是重写了handleRpc用来响应Rpc调用 +// 这个结构没有要同步的数据,但是重写了handleRpc用来响应Rpc调用,所以命名为control +// 是*角色*的根结构,包括了playerPhysics、CustomNetworkTransform等需要同步的数据 public class PlayerControl : InnerNetObject { public bool CanMove -- cgit v1.1-26-g67d0