/// <summary> /// 按移动的频率同步状态 /// </summary> /// <param name="runtime"></param> public void SynState(DateTime runtime) { if (runtime.Millisecond - synTime.Millisecond < SYN_PERIOD) { return; } if (Vector3.Equal(position, synPosition)) { return; } controller.move(synPosition); }