C# Class UIPlayAnimation, TheUnseen

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

Méthodes publiques

Свойство Type Description
animator Animator
clearSelection bool
clipName string
disableWhenFinished DisableCondition
ifDisabledOnPlay EnableCondition
onFinished List
playDirection Direction,
resetOnPlay bool
target Animation
trigger Trigger,

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Awake ( ) : void
OnActivate ( bool isActive ) : void
OnClick ( ) : void
OnDoubleClick ( ) : void
OnDragOut ( ) : void
OnDragOver ( ) : void
OnDrop ( GameObject go ) : void
OnEnable ( ) : void
OnFinished ( ) : void

Callback triggered when each tween executed by this script finishes.

OnHover ( bool isOver ) : void
OnPress ( bool isPressed ) : void
OnSelect ( bool isSelected ) : void
Play ( bool forward ) : void

Start playing the animation.

Play ( bool forward, bool onlyIfDifferent ) : void

Start playing the animation.

Start ( ) : void

Automatically find the necessary components.

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

OnActivate() public méthode

public OnActivate ( bool isActive ) : void
isActive bool
Résultat void

OnClick() public méthode

public OnClick ( ) : void
Résultat void

OnDoubleClick() public méthode

public OnDoubleClick ( ) : void
Résultat void

OnDragOut() public méthode

public OnDragOut ( ) : void
Résultat void

OnDragOver() public méthode

public OnDragOver ( ) : void
Résultat void

OnDrop() public méthode

public OnDrop ( GameObject go ) : void
go GameObject
Résultat void

OnEnable() public méthode

public OnEnable ( ) : void
Résultat void

OnFinished() public méthode

Callback triggered when each tween executed by this script finishes.
public OnFinished ( ) : void
Résultat void

OnHover() public méthode

public OnHover ( bool isOver ) : void
isOver bool
Résultat void

OnPress() public méthode

public OnPress ( bool isPressed ) : void
isPressed bool
Résultat void

OnSelect() public méthode

public OnSelect ( bool isSelected ) : void
isSelected bool
Résultat void

Play() public méthode

Start playing the animation.
public Play ( bool forward ) : void
forward bool
Résultat void

Play() public méthode

Start playing the animation.
public Play ( bool forward, bool onlyIfDifferent ) : void
forward bool
onlyIfDifferent bool
Résultat void

Start() public méthode

Automatically find the necessary components.
public Start ( ) : void
Résultat void

Property Details

animator public_oe property

Target animator system.
public Animator animator
Résultat Animator

clearSelection public_oe property

Whether the selected object (this button) will be cleared when the animation gets activated.
public bool clearSelection
Résultat bool

clipName public_oe property

Optional clip name, if the animation has more than one clip.
public string clipName
Résultat string

disableWhenFinished public_oe property

What to do with the target when the animation finishes.
public DisableCondition disableWhenFinished
Résultat DisableCondition

ifDisabledOnPlay public_oe property

What to do if the target game object is currently disabled.
public EnableCondition ifDisabledOnPlay
Résultat EnableCondition

onFinished public_oe property

Event delegates called when the animation finishes.
public List onFinished
Résultat List

playDirection public_oe property

Which direction to animate in.
public Direction, playDirection
Résultat Direction,

resetOnPlay public_oe property

Whether the animation's position will be reset on play or will continue from where it left off.
public bool resetOnPlay
Résultat bool

target public_oe property

Target animation to activate.
public Animation target
Résultat Animation

trigger public_oe property

Which event will trigger the animation.
public Trigger, trigger
Résultat Trigger,