C# Class UIScrollPage, QFramework

Inheritance: MonoBehaviour, IBeginDragHandler, IEndDragHandler
Mostrar archivo Open project: liangxiegame/QFramework Class Usage Examples

Public Properties

Property Type Description
OnPageChanged Action,System
smooting float

Public Methods

Method Description
OnBeginDrag ( PointerEventData eventData ) : void
OnEndDrag ( PointerEventData eventData ) : void

Private Methods

Method Description
Start ( ) : void
Update ( ) : void
UpdatePages ( ) : void

Method Details

OnBeginDrag() public method

public OnBeginDrag ( PointerEventData eventData ) : void
eventData UnityEngine.EventSystems.PointerEventData
return void

OnEndDrag() public method

public OnEndDrag ( PointerEventData eventData ) : void
eventData UnityEngine.EventSystems.PointerEventData
return void

Property Details

OnPageChanged public_oe property

用于返回一个页码,-1说明page的数据为0
public Action,System OnPageChanged
return Action,System

smooting public_oe property

public float smooting
return float