Fix bug
This commit is contained in:
parent
e45b8acf2a
commit
0b3381b5e3
|
@ -105,6 +105,9 @@ namespace BNG {
|
|||
return;
|
||||
}
|
||||
|
||||
if (cameraCaster == null)
|
||||
return;
|
||||
|
||||
EventData.position = new Vector2(cameraCaster.pixelWidth / 2, cameraCaster.pixelHeight / 2);
|
||||
|
||||
eventSystem.RaycastAll(EventData, m_RaycastResultCache);
|
||||
|
|
Loading…
Reference in New Issue