|
Beamable SDK
|


Public Member Functions | |
| void | DistributePages () |
| void | AddChild (GameObject GO) |
| Add a new child to this Scroll Snap and recalculate it's children More... | |
| void | AddChild (GameObject GO, bool WorldPositionStays) |
| Add a new child to this Scroll Snap and recalculate it's children More... | |
| void | RemoveChild (int index, out GameObject ChildRemoved) |
| Remove a new child to this Scroll Snap and recalculate it's children *Note, this is an index address (0-x) More... | |
| void | RemoveChild (int index, bool WorldPositionStays, out GameObject ChildRemoved) |
| Remove a new child to this Scroll Snap and recalculate it's children *Note, this is an index address (0-x) More... | |
| void | RemoveAllChildren (out GameObject[] ChildrenRemoved) |
| Remove all children from this ScrollSnap More... | |
| void | RemoveAllChildren (bool WorldPositionStays, out GameObject[] ChildrenRemoved) |
| Remove all children from this ScrollSnap More... | |
| void | UpdateLayout () |
| used for changing / updating between screen resolutions | |
| void | OnEndDrag (PointerEventData eventData) |
| Release screen to swipe More... | |
Public Member Functions inherited from Beamable.UnityEngineClone.UI.Extensions.ScrollSnapBase | |
| void | NextScreen () |
| void | PreviousScreen () |
| void | GoToScreen (int screenIndex) |
| Function for switching to a specific screen *Note, this is based on a 0 starting index - 0 to x More... | |
| void | StartScreenChange () |
| Event fires when the user starts to change the page, either via swipe or button. | |
| Transform | CurrentPageObject () |
| Returns the Transform of the Current page More... | |
| void | CurrentPageObject (out Transform returnObject) |
| Returns the Transform of the Current page in an out parameter for performance More... | |
| void | OnBeginDrag (PointerEventData eventData) |
| Touch screen to start swiping More... | |
| void | OnDrag (PointerEventData eventData) |
| While dragging do More... | |
| void | SetLerp (bool value) |
| Added to provide a uniform interface for the ScrollBarHelper | |
| void | ChangePage (int page) |
| Added to provide a uniform interface for the ScrollBarHelper | |
Additional Inherited Members | |
Public Attributes inherited from Beamable.UnityEngineClone.UI.Extensions.ScrollSnapBase | |
| int | StartingScreen = 0 |
| float | PageStep = 1 |
| GameObject | Pagination |
| GameObject | PrevButton |
| GameObject | NextButton |
| float | transitionSpeed = 7.5f |
| Boolean | UseHardSwipe = false |
| Boolean | UseFastSwipe = false |
| Boolean | UseSwipeDeltaThreshold = false |
| int | FastSwipeThreshold = 100 |
| int | SwipeVelocityThreshold = 100 |
| float | SwipeDeltaThreshold = 5.0f |
| Boolean | UseTimeScale = true |
| RectTransform | MaskArea |
| float | MaskBuffer = 1 |
| bool | JumpOnEnable = false |
| bool | RestartOnEnable = false |
| bool | UseParentTransform = true |
| GameObject[] | ChildObjects |
Properties inherited from Beamable.UnityEngineClone.UI.Extensions.ScrollSnapBase | |
| int? | CurrentPage [getset] |
| SelectionChangeStartEvent | OnSelectionChangeStartEvent [getset] |
| SelectionPageChangedEvent | OnSelectionPageChangedEvent [getset] |
| SelectionChangeEndEvent | OnSelectionChangeEndEvent [getset] |
|
inline |
Add a new child to this Scroll Snap and recalculate it's children
| GO | GameObject to add to the ScrollSnap |
|
inline |
Add a new child to this Scroll Snap and recalculate it's children
| GO | GameObject to add to the ScrollSnap |
| WorldPositionStays | Should the world position be updated to it's parent transform? |
|
inline |
Release screen to swipe
| eventData |
|
inline |
Remove all children from this ScrollSnap
| WorldPositionStays | If true, the parent-relative position, scale and rotation are modified such that the object keeps the same world space position, rotation and scale as before |
| ChildrenRemoved | Array of child GO's removed |
|
inline |
Remove all children from this ScrollSnap
| ChildrenRemoved | Array of child GO's removed |
|
inline |
Remove a new child to this Scroll Snap and recalculate it's children *Note, this is an index address (0-x)
| index | Index element of child to remove |
| WorldPositionStays | If true, the parent-relative position, scale and rotation are modified such that the object keeps the same world space position, rotation and scale as before |
| ChildRemoved | Resulting removed GO |
|
inline |
Remove a new child to this Scroll Snap and recalculate it's children *Note, this is an index address (0-x)
| index | Index element of child to remove |
| ChildRemoved | Resulting removed GO |