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