uplev xlua
This commit is contained in:
@@ -39,6 +39,7 @@ public class UIScrollView : MonoBehaviour
|
||||
WhenDragging,
|
||||
}
|
||||
|
||||
[XLua.CSharpCallLua]
|
||||
public delegate void OnDragNotification ();
|
||||
|
||||
/// <summary>
|
||||
@@ -129,29 +130,35 @@ public class UIScrollView : MonoBehaviour
|
||||
/// Event callback to trigger when the drag process begins.
|
||||
/// </summary>
|
||||
|
||||
[XLua.CSharpCallLua]
|
||||
public OnDragNotification onDragStarted;
|
||||
|
||||
/// <summary>
|
||||
/// Event callback to trigger when the drag process finished. Can be used for additional effects, such as centering on some object.
|
||||
/// </summary>
|
||||
|
||||
[XLua.CSharpCallLua]
|
||||
public OnDragNotification onDragFinished;
|
||||
|
||||
/// <summary>
|
||||
/// Event callback triggered when the scroll view is moving as a result of momentum in between of OnDragFinished and OnStoppedMoving.
|
||||
/// </summary>
|
||||
///
|
||||
///
|
||||
|
||||
[XLua.CSharpCallLua]
|
||||
public OnDragNotification onMomentumMove;
|
||||
|
||||
public OnDragNotification onDragmMove;
|
||||
[XLua.CSharpCallLua]
|
||||
public OnDragNotification onDragmMove;
|
||||
|
||||
/// <summary>
|
||||
/// Event callback to trigger when the scroll view's movement ends.
|
||||
/// </summary>
|
||||
/// <summary>
|
||||
/// Event callback to trigger when the scroll view's movement ends.
|
||||
/// </summary>
|
||||
|
||||
public OnDragNotification onStoppedMoving;
|
||||
[XLua.CSharpCallLua]
|
||||
public OnDragNotification onStoppedMoving;
|
||||
|
||||
[XLua.CSharpCallLua]
|
||||
public OnDragNotification onStartCenterOnChild; // add by chenbin
|
||||
|
||||
// Deprecated functionality. Use 'movement' instead.
|
||||
|
||||
Reference in New Issue
Block a user