C# Class LeopotamGroup.Gui.Layout.GuiScrollView

Inheritance: LeopotamGroup.Common.MonoBehaviourBase
Mostra file Open project: Leopotam/LeopotamGroupLibraryUnity Class Usage Examples

Public Methods

Method Description
ScrollRelative ( Vector2 delta ) : void

Scroll view with relative offset.

Validate ( ) : void

Validate view position for respect cached bounds. No force recalculation for bounds!

ValidateBounds ( ) : void

Revalidate internal bounds cache. No reposition for new bounds!

Private Methods

Method Description
ClipPosition ( Vector3 &pos ) : bool
OnEnable ( ) : void
ValidatePanel ( ) : void

Method Details

ScrollRelative() public method

Scroll view with relative offset.
public ScrollRelative ( Vector2 delta ) : void
delta UnityEngine.Vector2
return void

Validate() public method

Validate view position for respect cached bounds. No force recalculation for bounds!
public Validate ( ) : void
return void

ValidateBounds() public method

Revalidate internal bounds cache. No reposition for new bounds!
public ValidateBounds ( ) : void
return void