文档

Unity Engine

Unity Engine

FromJson(string)

Deserializes a graph selection object from a JSON string.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static GraphSelection FromJson(string json)

Parameters

json

Serialized selection as a JSON string (produced by EditorJsonUtility.ToJson).

Returns

Type

Description

GraphSelectionGraph selection object, or null if empty or invalid.