【补提】

iOS_release
zhangaotian 2024-07-23 17:42:59 +08:00
parent bcd2a08f2e
commit 2d159cf5b7
2 changed files with 1 additions and 2 deletions

View File

@ -62,7 +62,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 2100000, guid: 63e92d9d8beb347159fc3cca727ca5c6, type: 2} m_Material: {fileID: 2100000, guid: 63e92d9d8beb347159fc3cca727ca5c6, type: 2}
m_Color: {r: 0, g: 0, b: 0, a: 0.42745098} m_Color: {r: 0, g: 0, b: 0, a: 0.42745098}
m_RaycastTarget: 0 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:

View File

@ -33,7 +33,6 @@ public class EventPermeate : MonoBehaviour, IPointerClickHandler, IPointerDownHa
{ {
List<RaycastResult> results = new List<RaycastResult>(); List<RaycastResult> results = new List<RaycastResult>();
EventSystem.current.RaycastAll(data, results); EventSystem.current.RaycastAll(data, results);
GameObject current = data.pointerCurrentRaycast.gameObject;
bool isUIEventProcessed = false; bool isUIEventProcessed = false;