Merge branch 'master' into LouDi_Quan
This commit is contained in:
commit
8bdbf9af1c
@ -56,6 +56,10 @@ namespace QFramework
|
|||||||
}
|
}
|
||||||
if (obj != null)
|
if (obj != null)
|
||||||
{
|
{
|
||||||
|
if (obj.activeSelf == false)
|
||||||
|
{
|
||||||
|
Debug.LogError(obj.name + "当前是隐藏状态");
|
||||||
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
anim = obj.GetComponent<Animation>();
|
anim = obj.GetComponent<Animation>();
|
||||||
|
|||||||
@ -45,7 +45,7 @@ namespace QFramework
|
|||||||
obj = DeviceController.Instance.GetDeviceObj(deviceName);
|
obj = DeviceController.Instance.GetDeviceObj(deviceName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (obj != null && Input.GetMouseButtonUp(0))
|
if (obj != null && Input.GetMouseButtonUp(0) && EventSystem.current.IsPointerOverGameObject() == false)
|
||||||
{
|
{
|
||||||
Vector3 mousePos = Input.mousePosition;
|
Vector3 mousePos = Input.mousePosition;
|
||||||
Ray ray = Camera.main.ScreenPointToRay(mousePos);
|
Ray ray = Camera.main.ScreenPointToRay(mousePos);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user