CutsceneCmdScale

From Headbone Creative
Jump to: navigation, search

This will scale the target object over a given amount of time.

Contents

Public Variables

target : Transform

This is the object that will have its scale adjusted. It must be assigned in the editor.

targetScale : Vector3

This is what the localScale of the object will be when the cutscene is finished.

resetScale : Vector3

This is what the localScale of the object will be when the cutscene starts or is reset, if resetToStartingScale is false.

resetToStartingScale : bool

If true, the resetScale above will be set to the localScale of the target on MonoBehaviour.Start.

scaleTime : float

This is the time in seconds to spend scaling the object.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox