C# Class U9T, swip3

Mostrar archivo Open project: unit9/swip3 Class Usage Examples

Public Methods

Method Description
GetHighestPriority ( List transitions ) : int
HOT ( U9HOTweenTransition, hoTweenMethod, object target, float duration, Holoville parms ) : U9HOTweenTransition,

Shorthand for the U9HOTweenTransition. Uses the default constructor. For more control, use the other overloads directly.

LT ( U9LeanTweenTransition, hoToTween, GameObject target, Vector3 to, float duration, Hashtable args ) : U9LeanTweenTransition,
LT ( U9LeanTweenTransition, hoToTween, GameObject target, float to, float duration, Hashtable args ) : U9LeanTweenTransition,
Null ( ) : U9NullTransition,

Shorthand for the U9NullTransition.

P ( ) : U9ParallelTransition,

Shorthand for the U9ParallelTransition.

PrioritySequence ( U9Transition, transitions, float staggerTime = 0f ) : U9SerialTransition,
S ( ) : U9SerialTransition,

Shorthand for the U9SerialTransition.

Stagger ( float staggerOffset ) : U9ParallelTransition,

Plays transitions in parallel, with a specified interval between each one.

Stagger ( float staggerOffset, bool ignoreTimescale ) : U9ParallelTransition,

Plays transitions in parallel, with a specified interval between each one.

T ( U9iTweenTransition, hoTweenMethod, GameObject target, Hashtable args ) : U9iTweenTransition,
ValidateTransitionArray ( U9Transition, transitions ) : void
W ( float waitSeconds ) : U9WaitTransition,

Shorthand for the U9WaitTransition. Uses the default constructor. For more control, use the other overloads directly.

W ( float waitSeconds, bool ignoreTimescale ) : U9WaitTransition,

Shorthand for the U9WaitTransition. Uses the default constructor with the option to ignore timescale. For more control, use the other overloads directly.

Private Methods

Method Description
CompareTransitionPriority ( U9Transition, a, U9Transition, b ) : int

Method Details

GetHighestPriority() public static method

public static GetHighestPriority ( List transitions ) : int
transitions List
return int

HOT() public static method

Shorthand for the U9HOTweenTransition. Uses the default constructor. For more control, use the other overloads directly.
public static HOT ( U9HOTweenTransition, hoTweenMethod, object target, float duration, Holoville parms ) : U9HOTweenTransition,
hoTweenMethod U9HOTweenTransition, /// HOTween method. ///
target object /// Target. ///
duration float /// Duration. ///
parms Holoville /// Parameters. ///
return U9HOTweenTransition,

LT() public static method

public static LT ( U9LeanTweenTransition, hoToTween, GameObject target, Vector3 to, float duration, Hashtable args ) : U9LeanTweenTransition,
hoToTween U9LeanTweenTransition,
target GameObject
to Vector3
duration float
args Hashtable
return U9LeanTweenTransition,

LT() public static method

public static LT ( U9LeanTweenTransition, hoToTween, GameObject target, float to, float duration, Hashtable args ) : U9LeanTweenTransition,
hoToTween U9LeanTweenTransition,
target GameObject
to float
duration float
args Hashtable
return U9LeanTweenTransition,

Null() public static method

Shorthand for the U9NullTransition.
public static Null ( ) : U9NullTransition,
return U9NullTransition,

P() public static method

Shorthand for the U9ParallelTransition.
public static P ( ) : U9ParallelTransition,
return U9ParallelTransition,

PrioritySequence() public static method

public static PrioritySequence ( U9Transition, transitions, float staggerTime = 0f ) : U9SerialTransition,
transitions U9Transition,
staggerTime float
return U9SerialTransition,

S() public static method

Shorthand for the U9SerialTransition.
public static S ( ) : U9SerialTransition,
return U9SerialTransition,

Stagger() public static method

Plays transitions in parallel, with a specified interval between each one.
public static Stagger ( float staggerOffset ) : U9ParallelTransition,
staggerOffset float /// Start time offset. ///
return U9ParallelTransition,

Stagger() public static method

Plays transitions in parallel, with a specified interval between each one.
public static Stagger ( float staggerOffset, bool ignoreTimescale ) : U9ParallelTransition,
staggerOffset float /// Start time offset. ///
ignoreTimescale bool /// Set to true to ignore timescale settings. ///
return U9ParallelTransition,

T() public static method

public static T ( U9iTweenTransition, hoTweenMethod, GameObject target, Hashtable args ) : U9iTweenTransition,
hoTweenMethod U9iTweenTransition,
target GameObject
args Hashtable
return U9iTweenTransition,

ValidateTransitionArray() public static method

public static ValidateTransitionArray ( U9Transition, transitions ) : void
transitions U9Transition,
return void

W() public static method

Shorthand for the U9WaitTransition. Uses the default constructor. For more control, use the other overloads directly.
public static W ( float waitSeconds ) : U9WaitTransition,
waitSeconds float /// Wait seconds. ///
return U9WaitTransition,

W() public static method

Shorthand for the U9WaitTransition. Uses the default constructor with the option to ignore timescale. For more control, use the other overloads directly.
public static W ( float waitSeconds, bool ignoreTimescale ) : U9WaitTransition,
waitSeconds float /// Wait seconds. ///
ignoreTimescale bool /// Ignore timescale. ///
return U9WaitTransition,