I'm trying to access my scrollrect, to know whether or not the component's drag is used, but the on-drag method is a function as the documentation says, some idea of how to access ondrag like:
"if ondrag is active ....."
I'm trying to access my scrollrect, to know whether or not the component's drag is used, but the on-drag method is a function as the documentation says, some idea of how to access ondrag like:
"if ondrag is active ....."
Copyright © 2021 Jogjafile Inc.
See ScrollRect.OnBeginDrag and ScrollRect.OnEndDrag
You can simply use the interfaces
IBeginDragHandlerandIEndDragHandleron your own component and e.g. set a bool thereand than check this bool instead