Fix missing GetSensorComponent when UnityXR is disabled

This commit is contained in:
Pascal Serrarens 2022-06-03 17:08:34 +02:00
parent 998683a881
commit 219f2f987c
2 changed files with 6 additions and 0 deletions

View File

@ -247,7 +247,11 @@ namespace Passer.Humanoid {
#endregion #endregion
#endregion #endregion
#else
public override SensorComponent GetSensorComponent() => null;
#endif #endif
} }
} }

View File

@ -145,6 +145,8 @@ namespace Passer.Humanoid {
} }
#endregion #endregion
#else
public override SensorComponent GetSensorComponent() => null;
#endif #endif
} }
} }