摘要:
NGUI,次功能由 UIDraggeablePanel.cs、UIDragPanelContents.cs、UICtenterOnChild.cs三块共同完成;UIDraggeablePanel,关联在根层级,且必须得包含UIPanel;属性介绍:Scale:偏移量;DragEffect:MomentumAndSpring,滑动特效;Momentum Amount:快速滑动位移;Show Scroll Bars :跟ScrollBar:转轴有关;UIPanel,设置:Clipping:是Clip类型;设置显示区域:子层级都只在“显示区域”显示:UIDragPanelContents,关联在子层 阅读全文