C# Class UIPlayTween, TheUnseen

Inheritance: MonoBehaviour
Exibir arquivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
disableWhenFinished DisableCondition
ifDisabledOnPlay EnableCondition
includeChildren bool
onFinished List
playDirection Direction
resetIfDisabled bool
resetOnPlay bool
trigger Trigger
tweenGroup int
tweenTarget GameObject

Public Methods

Method Description
Awake ( ) : void
OnActivate ( bool isActive ) : void
OnClick ( ) : void
OnDoubleClick ( ) : void
OnDragOut ( ) : 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

Activate the tweeners.

Start ( ) : void
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

OnActivate() public method

public OnActivate ( bool isActive ) : void
isActive bool
return void

OnClick() public method

public OnClick ( ) : void
return void

OnDoubleClick() public method

public OnDoubleClick ( ) : void
return void

OnDragOut() public method

public OnDragOut ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnFinished() public method

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

OnHover() public method

public OnHover ( bool isOver ) : void
isOver bool
return void

OnPress() public method

public OnPress ( bool isPressed ) : void
isPressed bool
return void

OnSelect() public method

public OnSelect ( bool isSelected ) : void
isSelected bool
return void

Play() public method

Activate the tweeners.
public Play ( bool forward ) : void
forward bool
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

disableWhenFinished public_oe property

What to do with the tweenTarget after the tween finishes.
public DisableCondition disableWhenFinished
return DisableCondition

ifDisabledOnPlay public_oe property

What to do if the tweenTarget game object is currently disabled.
public EnableCondition ifDisabledOnPlay
return EnableCondition

includeChildren public_oe property

Whether the tweens on the child game objects will be considered.
public bool includeChildren
return bool

onFinished public_oe property

Event delegates called when the animation finishes.
public List onFinished
return List

playDirection public_oe property

Direction to tween in.
public Direction playDirection
return Direction

resetIfDisabled public_oe property

Whether the tween will be reset to the start if it's disabled when activated.
public bool resetIfDisabled
return bool

resetOnPlay public_oe property

Whether the tween will be reset to the start or end when activated. If not, it will continue from where it currently is.
public bool resetOnPlay
return bool

trigger public_oe property

Which event will trigger the tween.
public Trigger trigger
return Trigger

tweenGroup public_oe property

If there are multiple tweens, you can choose which ones get activated by changing their group.
public int tweenGroup
return int

tweenTarget public_oe property

Target on which there is one or more tween.
public GameObject tweenTarget
return GameObject