NGUI: Next-Gen UI kit  3.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
SpringPanel Class Reference

Similar to SpringPosition, but also moves the panel's clipping. Works in local coordinates. More...

Inheritance diagram for SpringPanel:

Public Member Functions

delegate void OnFinished ()
 

Static Public Member Functions

static SpringPanel Begin (GameObject go, Vector3 pos, float strength)
 Start the tweening process. More...
 

Public Attributes

Vector3 target = Vector3.zero
 Target position to spring the panel to. More...
 
float strength = 10f
 Strength of the spring. The higher the value, the faster the movement. More...
 
OnFinished onFinished
 Delegate function to call when the operation finishes. More...
 

Static Public Attributes

static SpringPanel current
 

Protected Member Functions

virtual void AdvanceTowardsPosition ()
 Advance toward the target position. More...
 

Detailed Description

Similar to SpringPosition, but also moves the panel's clipping. Works in local coordinates.

Member Function Documentation

virtual void SpringPanel.AdvanceTowardsPosition ( )
protectedvirtual

Advance toward the target position.

static SpringPanel SpringPanel.Begin ( GameObject  go,
Vector3  pos,
float  strength 
)
static

Start the tweening process.

delegate void SpringPanel.OnFinished ( )

Member Data Documentation

SpringPanel SpringPanel.current
static
OnFinished SpringPanel.onFinished

Delegate function to call when the operation finishes.

float SpringPanel.strength = 10f

Strength of the spring. The higher the value, the faster the movement.

Vector3 SpringPanel.target = Vector3.zero

Target position to spring the panel to.


The documentation for this class was generated from the following file: