前端可点击区域 修正为弹窗时全屏可操作
This commit is contained in:
parent
732523399d
commit
e50d4e2d5c
|
|
@ -76,6 +76,18 @@ public class BrideWebView : MonoBehaviour
|
||||||
{
|
{
|
||||||
VideoManager.instance.ShowVideo(webMessage.Message);
|
VideoManager.instance.ShowVideo(webMessage.Message);
|
||||||
}
|
}
|
||||||
|
else if (webMessage.Type == "Tip")
|
||||||
|
{
|
||||||
|
if (webMessage.Message.Equals("true"))
|
||||||
|
{
|
||||||
|
WebPoint.instance.enabled = false;
|
||||||
|
}
|
||||||
|
else if (webMessage.Message.Equals("false"))
|
||||||
|
{
|
||||||
|
WebPoint.instance.enabled = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PeiDianShiDianGuiParent.Instance.CameraShow(webMessage.Type, webMessage.Message);
|
PeiDianShiDianGuiParent.Instance.CameraShow(webMessage.Type, webMessage.Message);
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,11 @@ public class ScreenUp : MonoBehaviour
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
|
Screen.SetResolution(7680, 3240, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
Screen.SetResolution(7680, 3240, false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ using UnityEngine.UI;
|
||||||
|
|
||||||
public class WebPoint : MonoBehaviour
|
public class WebPoint : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
public bool ison;
|
||||||
public static WebPoint instance;
|
public static WebPoint instance;
|
||||||
private RawImage rawImage;
|
private RawImage rawImage;
|
||||||
Vector3 mousePosition;
|
Vector3 mousePosition;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue