FromJson(string)
Deserializes a graph selection object from a JSON string.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
public static GraphSelection FromJson(string json)
Parameters
Serialized selection as a JSON string (produced by EditorJsonUtility.ToJson).
Returns
Type | Description |
|---|---|
| GraphSelection | Graph selection object, or null if empty or invalid. |