Method Create
Create(PlayableGraph, GameObject, PostPlaybackState)
Creates a ScriptPlayable with an ActivationControlPlayable behaviour attached
선언
public static ScriptPlayable<ActivationControlPlayable> Create(PlayableGraph graph, GameObject gameObject, ActivationControlPlayable.PostPlaybackState postPlaybackState)
파라미터
타입 | 이름 | 설명 |
---|---|---|
PlayableGraph | graph | PlayableGraph that will own the playable |
GameObject | gameObject | The GameObject that triggered the graph build |
ActivationControlPlayable.PostPlaybackState | postPlaybackState | The state to leave the gameObject after the graph is stopped |
반환
타입 | 설명 |
---|---|
ScriptPlayable<ActivationControlPlayable> | Returns a playable that controls activation of a game object |