mUIScrollRect

Summary

Component for displaying and managing scroll view.

Relation

UnityEngine.UI.ScrollRect
mUniSm.Core.IMonoCacheBehaviour

Property

cachedGameObject Reference cache of GameObject
cachedTransform Reference cache of Transform
cachedRectTransform Reference cache of RectTransform
active True if the game object is active It is possible to change the state of the game object by setting bool
cachedUIGroup Gets the cached UI group.
selected Gets the selected.
padding Gets or sets the padding.
useSnap Gets a value indicating whether this instance use snap.
range Gets or sets the range.
snapSmoothy The snap smoothy
unSnapedThreshold The un snaped threshold
automaticallyOffset Gets or sets a value indicating whether this instance is enable offset.
offset Gets or sets the offset.
selectableType Gets or sets the type of the selectable.
interactable Gets or sets a value indicating whether this is interactable.
onRestricted Gets the on restricted.
onSnapEnd Gets the on snap end.

Method

Awake( ) Process on Awake
Start( ) Process on Start
RecalculateSnapPosition( ) Recalculates the snap position.
ForceMoveNormalizedPosition(UnityEngine.Vector2,System.Boolean) Forces the move normalized position.
ForceMovePosition(UnityEngine.Vector2,System.Boolean) Forces the move position.
ForceMoveSnappedPosition(System.Int32,System.Boolean) Forces the move position.
Validate( ) Process on Validate
OnBeginDrag(UnityEngine.EventSystems.PointerEventData) Handling for when the content is being dragged.
OnDrag(UnityEngine.EventSystems.PointerEventData) Handling for when the content is dragged.
OnEndDrag(UnityEngine.EventSystems.PointerEventData) Handling for when the content has finished being dragged.
SetOffset( ) Sets the offset.
GetOffset( ) Gets the offset.
OnRectTransformDimensionsChange( ) Called when rect transform dimensions change.

Reference