文档

Unity Engine

Unity Engine

Create

Creates a PlayableGraph.
阅读时间1 分钟最后更新于 1 个月前

Definition

Create()

Creates a PlayableGraph.
public static PlayableGraph Create()

Returns

Type

Description

PlayableGraphThe newly created PlayableGraph.

Remarks

The PlayableGraph is created without a Playable and a PlayableOutput.
The
name
is optional but it can help when using editor tools, like the GraphVisualizer.

Create(string)

Creates a PlayableGraph.
public static PlayableGraph Create(string name)

Parameters

name

The name of the graph.

Returns

Type

Description

PlayableGraphThe newly created PlayableGraph.

Remarks

The PlayableGraph is created without a Playable and a PlayableOutput.
The
name
is optional but it can help when using editor tools, like the GraphVisualizer.