You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debug.Assert(baseInputEventData.InputSource!=null,$"Failed to find an input source for {baseInputEventData}");
263
262
Debug.Assert(!baseInputEventData.used);
264
263
264
+
if(baseInputEventData.InputSource==null)
265
+
{
266
+
Debug.LogError($"Failed to find an input source for {baseInputEventData}");
267
+
return;
268
+
}
269
+
265
270
// Send the event to global listeners
266
271
base.HandleEvent(eventData,eventHandler);
267
272
268
273
if(baseInputEventData.used)
269
274
{
270
-
// All global listeners get a chance to see the event, but if any of them marked it used, we stop
271
-
// the event from going any further.
275
+
// All global listeners get a chance to see the event,
276
+
// but if any of them marked it used,
277
+
// we stop the event from going any further.
278
+
return;
279
+
}
280
+
281
+
if(baseInputEventData.InputSource.Pointers==null)
282
+
{
283
+
Debug.LogError($"InputSource {baseInputEventData.InputSource.SourceName} doesn't have any registered pointers! Input Sources without pointers should use the GazeProvider's pointer as a default fallback.");
0 commit comments