C# Class SpringPosition, TheUnseen

Inheritance: IgnoreTimeScale
Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Свойство Type Description
current SpringPosition,
ignoreTimeScale bool
onFinished OnFinished
strength float
target Vector3
updateScrollView bool
worldSpace bool

Méthodes publiques

Méthode Description
Begin ( GameObject go, Vector3 pos, float strength ) : SpringPosition,

Start the tweening process.

Private Methods

Méthode Description
NotifyListeners ( ) : void

Notify all finished event listeners.

Start ( ) : void

Cache the transform.

Update ( ) : void

Advance toward the target position.

Method Details

Begin() static public méthode

Start the tweening process.
static public Begin ( GameObject go, Vector3 pos, float strength ) : SpringPosition,
go GameObject
pos Vector3
strength float
Résultat SpringPosition,

Property Details

current static_oe public_oe property

static public SpringPosition, current
Résultat SpringPosition,

ignoreTimeScale public_oe property

Whether the time scale will be ignored. Generally UI components should set it to 'true'.
public bool ignoreTimeScale
Résultat bool

onFinished public_oe property

Delegate to trigger when the spring finishes.
public OnFinished onFinished
Résultat OnFinished

strength public_oe property

Strength of the spring. The higher the value, the faster the movement.
public float strength
Résultat float

target public_oe property

Target position to tween to.
public Vector3 target
Résultat Vector3

updateScrollView public_oe property

Whether the parent scroll view will be updated as the object moves.
public bool updateScrollView
Résultat bool

worldSpace public_oe property

Is the calculation done in world space or local space?
public bool worldSpace
Résultat bool