setchi / FancyScrollView

[Unity] Scroll view component that can implement highly flexible animations.
https://setchi.jp/FancyScrollView/
MIT License
3.04k stars 385 forks source link

My ScrollView cannot drag. #23

Closed JourneyHans closed 5 years ago

JourneyHans commented 5 years ago

My ScrollView is full screen, and the Cell is just Text Prefab, I don't add any animation.

JourneyHans commented 5 years ago

So...I have to add animation to Cell even if I just want a simple move action, is that right?

setchi commented 5 years ago

@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 5 years ago

Thank you very much. It solved my problem, your implementation of "ScrollView" is the most elegant way I have ever saw.