Method Create
Create(PlayableGraph, GameObject, Transform)
Creates a Playable with a PrefabControlPlayable behaviour attached
선언
public static ScriptPlayable<PrefabControlPlayable> Create(PlayableGraph graph, GameObject prefabGameObject, Transform parentTransform)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| PlayableGraph | graph | The PlayableGraph to inject the Playable into. |
| GameObject | prefabGameObject | The prefab to instantiate from |
| Transform | parentTransform | Transform to parent instance to. Can be null. |
반환
| 타입 | 설명 |
|---|---|
| ScriptPlayable<PrefabControlPlayable> | Returns a Playabe with PrefabControlPlayable behaviour attached. |