|
|
@@ -83,6 +83,15 @@ public class BowCamera : MonoBehaviour
|
|
|
touchChecker.Update();
|
|
|
} else {
|
|
|
if (SB_EventSystem.ins && SB_EventSystem.ins.simulateMouseIsAwaked) return;
|
|
|
+ //需要-镜头看向九轴姿态虚拟节点
|
|
|
+ needLookAtPoint = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ bool needLookAtPoint = false; //需要-镜头看向九轴姿态虚拟节点?
|
|
|
+ void LateUpdate() {
|
|
|
+ if (needLookAtPoint) {
|
|
|
+ needLookAtPoint = false;
|
|
|
//镜头看向九轴姿态虚拟节点
|
|
|
this.transform.LookAt(CameraToLook.ins.point);
|
|
|
}
|