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
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961