Last 2018 fix
parent
55ee3bf621
commit
8870e4c78c
Runtime/Scripts/Utilities
|
@ -281,10 +281,10 @@ namespace UnityEngine.UI.Extensions
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
#if ENABLE_LEGACY_INPUT_MANAGER
|
#if UNITY_2019_OR_NEWER && !ENABLE_LEGACY_INPUT_MANAGER
|
||||||
return Input.mouseScrollDelta;
|
|
||||||
#else
|
|
||||||
return Mouse.current.position.ReadValue();
|
return Mouse.current.position.ReadValue();
|
||||||
|
#else
|
||||||
|
return Input.mouseScrollDelta;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue