Class ControlPlayableAsset
Playable Asset that generates playables for controlling time-related elements on a GameObject.
Inherited Members
Namespace: UnityEngine .Timeline
Assembly: solution.dll
Syntax
[Serializable]
public class ControlPlayableAsset : PlayableAsset, IPlayableAsset, IPropertyPreview, ITimelineClipAsset
Fields
Name | Description |
---|---|
active | Indicate whether GameObject activation is controlled |
particle |
Random seed to supply particle systems that are set to use autoRandomSeed |
post |
Indicates the active state of the GameObject when Timeline is stopped. |
prefab |
Prefab object that will be instantiated. |
search |
Indicates whether to search the entire hierarchy for controllable components. |
source |
GameObject in the scene to control, or the parent of the instantiated prefab. |
update |
Indicates whether playableDirectors are controlled. |
update |
Indicates whether Monobehaviours implementing ITimeControl will be controlled. |
update |
Indicates whether Particle Systems will be controlled. |
Properties
Name | Description |
---|---|
clip |
Returns the capabilities of TimelineClips that contain a ControlPlayableAsset |
duration | Returns the duration in seconds needed to play the underlying director or particle system exactly once. |
Methods
Name | Description |
---|---|
Create |
Creates the root of a Playable subgraph to control the contents of the game object. |
Gather |
Called by the Timeline Editor to gather properties requiring preview. |
On |
This function is called when the object is loaded. |