This is a memo for understanding the structure of frequently used scroll UIs by building one from scratch. Hierarchy UI (Canvas) -> Scroll View can also be used to create it, but I want to look at ...
"Give someone state and they'll have a bug one day, but teach them how to represent state in two separate locations that have to be kept in sync and they'll have bugs for a lifetime."-ryg (This ...
"Give someone state and they'll have a bug one day, but teach them how to represent state in two separate locations that have to be kept in sync and they'll have bugs for a lifetime."-ryg (This ...
本文深入解析Unity UI系统中ScrollRect组件的工作机制,涵盖视口-内容模型、关键属性配置(如Movement Type、Inertia、Scroll Sensitivity)、基础搭建流程及滚动条定制方法。重点阐述动态内容加载的对象池应用、Canvas分层优化、RectMask2D替代方案、布局计算控制等性能优化技术,并针对滚动方向异常、边界 ...
자주 사용하는 스크롤 UI를 처음부터 직접 만들어 보며 구조를 이해하기 위한 기록입니다. Hierarchy의 UI(Canvas)→Scroll View를 통해서도 만들 수 있지만, 어디에 어떤 컴포넌트가 붙어 있는지, 어떤 ...