h5修改
This commit is contained in:
@@ -85,8 +85,8 @@ namespace BingoBrain
|
|||||||
int flyswitch = ConfigSystem.GetConfig<CommonModel>().flyswitch;
|
int flyswitch = ConfigSystem.GetConfig<CommonModel>().flyswitch;
|
||||||
int propswitch = ConfigSystem.GetConfig<CommonModel>().propswitch;
|
int propswitch = ConfigSystem.GetConfig<CommonModel>().propswitch;
|
||||||
|
|
||||||
int offset_y = 0;
|
int offset_y = ConfigSystem.GetConfig<CommonModel>().WVOffset[0];
|
||||||
int offset_y1 = 0;
|
int offset_y1 = ConfigSystem.GetConfig<CommonModel>().WVOffset[1];
|
||||||
Debug.Log("barry offset_y: " + offset_y + " offset_y1: " + offset_y1);
|
Debug.Log("barry offset_y: " + offset_y + " offset_y1: " + offset_y1);
|
||||||
float top_offset = 0;//fgui中的顶部信息的高度
|
float top_offset = 0;//fgui中的顶部信息的高度
|
||||||
float buttom_offset = 157;
|
float buttom_offset = 157;
|
||||||
@@ -102,7 +102,7 @@ namespace BingoBrain
|
|||||||
// Debug.Log($"propswitch==1 ------ {propswitch == 1}");
|
// Debug.Log($"propswitch==1 ------ {propswitch == 1}");
|
||||||
WebviewManager.Instance.setFlyBtnTag(flyswitch == 1);
|
WebviewManager.Instance.setFlyBtnTag(flyswitch == 1);
|
||||||
WebviewManager.Instance.setRewardBtnTag(propswitch == 1);
|
WebviewManager.Instance.setRewardBtnTag(propswitch == 1);
|
||||||
WebviewManager.Instance.SetDarkThough(false);
|
WebviewManager.Instance.SetDarkThough(true);
|
||||||
WebviewManager.Instance.ShowH5View(false);
|
WebviewManager.Instance.ShowH5View(false);
|
||||||
WebviewManager.Instance.SetBtn(ConfigSystem.GetConfig<CommonModel>().propCoord[0], ConfigSystem.GetConfig<CommonModel>().propCoord[1], 60, 60);
|
WebviewManager.Instance.SetBtn(ConfigSystem.GetConfig<CommonModel>().propCoord[0], ConfigSystem.GetConfig<CommonModel>().propCoord[1], 60, 60);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -523,18 +523,18 @@ namespace DontConfuse
|
|||||||
}
|
}
|
||||||
|
|
||||||
EndLoop: Debug.Log("");
|
EndLoop: Debug.Log("");
|
||||||
if (click_card)
|
// if (click_card)
|
||||||
{
|
// {
|
||||||
if (orthoCamera == null) orthoCamera = GameObject.Find("GameCamera").GetComponent<Camera>();
|
// if (orthoCamera == null) orthoCamera = GameObject.Find("GameCamera").GetComponent<Camera>();
|
||||||
Ray ray = orthoCamera.ScreenPointToRay(new Vector2(float.Parse(a[0]) * Screen.width, (1 - float.Parse(a[1])) * Screen.height));
|
// Ray ray = orthoCamera.ScreenPointToRay(new Vector2(float.Parse(a[0]) * Screen.width, (1 - float.Parse(a[1])) * Screen.height));
|
||||||
RaycastHit hit;
|
// RaycastHit hit;
|
||||||
int layerMask = 1 << 6;
|
// int layerMask = 1 << 6;
|
||||||
|
|
||||||
if (Physics.Raycast(ray, out hit, Mathf.Infinity, layerMask))
|
// if (Physics.Raycast(ray, out hit, Mathf.Infinity, layerMask))
|
||||||
{
|
// {
|
||||||
// GameDispatcher.Instance.Dispatch(GameMsg.card_click, hit.collider.gameObject.name);
|
// // GameDispatcher.Instance.Dispatch(GameMsg.card_click, hit.collider.gameObject.name);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -683,11 +683,11 @@ namespace DontConfuse
|
|||||||
if (i != 0) darkWVRefreshtime_str += "|";
|
if (i != 0) darkWVRefreshtime_str += "|";
|
||||||
darkWVRefreshtime_str += ConfigSystem.GetConfig<CommonModel>().darkWVRefreshtime[i].ToString();
|
darkWVRefreshtime_str += ConfigSystem.GetConfig<CommonModel>().darkWVRefreshtime[i].ToString();
|
||||||
}
|
}
|
||||||
// for (int i = 0; i < ConfigSystem.GetConfig<CommonModel>().darkWVRefreshtime2.Length; i++)
|
for (int i = 0; i < ConfigSystem.GetConfig<CommonModel>().darkWVRefreshtime2.Length; i++)
|
||||||
// {
|
{
|
||||||
// darkWVRefreshtime_str += "|";
|
darkWVRefreshtime_str += "|";
|
||||||
// darkWVRefreshtime_str += ConfigSystem.GetConfig<CommonModel>().darkWVRefreshtime2[i].ToString();
|
darkWVRefreshtime_str += ConfigSystem.GetConfig<CommonModel>().darkWVRefreshtime2[i].ToString();
|
||||||
// }
|
}
|
||||||
|
|
||||||
Debug.Log("--------------------------------");
|
Debug.Log("--------------------------------");
|
||||||
|
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ GameObject:
|
|||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 0
|
m_IsActive: 1
|
||||||
--- !u!114 &137049539
|
--- !u!114 &137049539
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user