My ScrollView cannot drag.
JourneyHans opened this issue · 3 comments
JourneyHans commented
My ScrollView is full screen, and the Cell is just Text Prefab, I don't add any animation.
JourneyHans commented
So...I have to add animation to Cell even if I just want a simple move action, is that right?
setchi commented
@JourneyHans
Yes, cell movement is based solely on the UpdatePosition implementation.
The sample uses Animator, but it is possible to implement it like him without using Animator.
https://gitlab.com/syousuke1104/unity_customfancyscrollview/blob/8edb0b31129a2c08fd791569a827ef2cf68d6b7b/Assets/CustomFancyScrollView/Scripts/CustomCell.cs#L36-51
JourneyHans commented
Thank you very much. It solved my problem, your implementation of "ScrollView" is the most elegant way I have ever saw.