Version: 2018.2

EventPlayable

class in UnityEngine.Timeline

/

継承:Playables.PlayableBehaviour

マニュアルに切り替える

説明

Base class for all user-defined event playables.

Use this class to execute code at a specific time.

using UnityEngine.Timeline;

class MyEventPlayable : EventPlayable { public override void OnTrigger() { //Do your stuff... } }

変数

triggerTimeThe time at which the event should be triggered.

Public 関数

OnTriggerCalled when the event should be triggered.

継承メンバー

Public 関数

OnBehaviourDelayThis function is called when the Playable play state is changed to PlayState.Delayed.
OnBehaviourPauseThis function is called when the Playable play state is changed to PlayState.Paused.
OnBehaviourPlayThis function is called when the Playable play state is changed to PlayState.Playing.
OnGraphStartThis function is called when the PlayableGraph that owns this PlayableBehaviour starts.
OnGraphStopThis function is called when the PlayableGraph that owns this PlayableBehaviour stops.
OnPlayableCreateThis function is called when the Playable that owns the PlayableBehaviour is created.
OnPlayableDestroyThis function is called when the Playable that owns the PlayableBehaviour is destroyed.
PrepareDataThis function is called during the PrepareData phase of the PlayableGraph.
PrepareFrameThis function is called during the PrepareFrame phase of the PlayableGraph.
ProcessFrameThis function is called during the ProcessFrame phase of the PlayableGraph.