优化放大后视角锁定问题
This commit is contained in:
parent
2ddf0f1155
commit
1d7b8c78d9
Binary file not shown.
|
@ -399,6 +399,10 @@ public class CameraRT : MonoBehaviour
|
||||||
Vector3 oldMousePos;
|
Vector3 oldMousePos;
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
|
//Debug.Log("mask_img.activeSelf: " + mask_img.activeSelf +
|
||||||
|
// "\nGameManager.Inst.isLoading: " + !GameManager.Inst.isLoading +
|
||||||
|
// "\nauto_move: " + auto_move +
|
||||||
|
// "\nautoRotate: " + !autoRotate);
|
||||||
if (mask_img.activeSelf) return;
|
if (mask_img.activeSelf) return;
|
||||||
else if (!GameManager.Inst.isLoading) return;
|
else if (!GameManager.Inst.isLoading) return;
|
||||||
BoolMonitor.Value = ismove();
|
BoolMonitor.Value = ismove();
|
||||||
|
|
|
@ -951,8 +951,8 @@ public class ClickEvent : MonoBehaviour
|
||||||
public void Zoomin(GameObject cabine)
|
public void Zoomin(GameObject cabine)
|
||||||
{
|
{
|
||||||
ExtendedFlycam.Inst.CameraRtDisable();
|
ExtendedFlycam.Inst.CameraRtDisable();
|
||||||
ExtendedFlycam.Inst.QieHuan(CabinetUIManager.Instance.current_menu);
|
ExtendedFlycam.Inst.QieHuan(CabinetUIManager.Instance.current_menu, 99);
|
||||||
|
|
||||||
//GameManager.Inst.magnifyState = true;
|
//GameManager.Inst.magnifyState = true;
|
||||||
TransparentGlowManage.Inst.is_magnify = true;
|
TransparentGlowManage.Inst.is_magnify = true;
|
||||||
|
|
||||||
|
|
|
@ -442,6 +442,10 @@ public class ExtendedFlycam : MonoBehaviour
|
||||||
{
|
{
|
||||||
QuanJing();
|
QuanJing();
|
||||||
}
|
}
|
||||||
|
else if (index == 99)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
NiaoKan();
|
NiaoKan();
|
||||||
|
|
Loading…
Reference in New Issue