Version: 5.6
Experimental: this API is experimental and might be changed or removed in the future.

ScriptPlayable

class in UnityEngine.Experimental.Director

/

다음으로부터 상속:Experimental.Director.Playable

매뉴얼로 전환

설명

Base class for all user-defined playables.

Public 함수

OnDestroyCalled when the Playable is destroyed.
OnGraphStartCalled when the PlayableGraph this Playable is owned by starts playing.
OnGraphStopCalled when the PlayableGraph this Playable is owned by is stopped.
OnPlayStateChangedOverride this method to perform custom operations when the PlayState changes.
PrepareFrameCalled during evaluation of the PlayableGraph.
ProcessFrameThe ProcessFrame is the stage at which your Playable should do its work.

상속된 멤버

변수

handleReturns the PlayableHandle for this playable.

Public 함수

IsValidReturns true if the Playable is valid. A playable can be invalid if it was disposed. This is different from a Null playable.

메시지

OnSetPlayStateCallback called when the PlayState has changed
OnSetTimeCallback called when the current time has changed