C# Class UnityEngine.UI.Extensions.HorizontalScrollSnap

Inheritance: MonoBehaviour, IBeginDragHandler, IEndDragHandler, IDragHandler
ファイルを表示 Open project: MaddJhin/Holdout Class Usage Examples

Public Properties

Property Type Description
FastSwipeThreshold int
UseFastSwipe System.Boolean

Public Methods

Method Description
CurrentScreen ( ) : int
NextScreen ( ) : void
OnBeginDrag ( PointerEventData eventData ) : void
OnDrag ( PointerEventData eventData ) : void
OnEndDrag ( PointerEventData eventData ) : void
PreviousScreen ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
ChangeBulletsInfo ( int currentScreen ) : void
DistributePages ( ) : void
FindClosestFrom ( System.Vector3 start, System positions ) : System.Vector3
NextScreenCommand ( ) : void
PrevScreenCommand ( ) : void

Method Details

CurrentScreen() public method

public CurrentScreen ( ) : int
return int

NextScreen() public method

public NextScreen ( ) : void
return void

OnBeginDrag() public method

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

OnDrag() public method

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

OnEndDrag() public method

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

PreviousScreen() public method

public PreviousScreen ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

FastSwipeThreshold public_oe property

public int FastSwipeThreshold
return int

UseFastSwipe public_oe property

public Boolean,System UseFastSwipe
return System.Boolean