From 1868bc632a9134b6891d4fc5f427e3f280b9e973 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 18 十月 2018 09:53:30 +0800
Subject: [PATCH] 3335 代码维护,修改通用配置定义类型。
---
Fight/GameActor/GActor.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Fight/GameActor/GActor.cs b/Fight/GameActor/GActor.cs
index 423f06c..6f6ac81 100644
--- a/Fight/GameActor/GActor.cs
+++ b/Fight/GameActor/GActor.cs
@@ -459,7 +459,7 @@
if (_dir != Vector3.zero)
{
Quaternion _quaternion = Quaternion.LookRotation(_dir, Vector3.up);
- Rotation = Quaternion.RotateTowards(Rotation, _quaternion, GeneralConfig.Instance.RotateSpeed);
+ Rotation = Quaternion.RotateTowards(Rotation, _quaternion, GeneralDefine.RotateSpeed);
destForward = _dir;
}
float _deltaDis = ActorInfo.moveSpeed * Time.deltaTime;
--
Gitblit v1.8.0