Fix missing GetSensorComponent when UnityXR is disabled
This commit is contained in:
parent
998683a881
commit
219f2f987c
@ -247,7 +247,11 @@ namespace Passer.Humanoid {
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#else
|
||||||
|
public override SensorComponent GetSensorComponent() => null;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
@ -145,6 +145,8 @@ namespace Passer.Humanoid {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
#else
|
||||||
|
public override SensorComponent GetSensorComponent() => null;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user