windowautoyaw专题

unity开发 --------- NGUI (UIDragObject、LagPosition、WindowAutoYaw、WindowDragTilt)

unity开发 --------- NGUI 1、要想实现某个widget的拖拽,只需要添加一个UIDragObject脚本组件。 public Transform target;public Vector3 scale = Vector3.one;public float scrollWheelFactor = 0f;public bool restrictWithinPanel