UnityHierarchyGraph
UnityHierarchyGraph[obj]
gives the hierarchy graph containing the Unity game object obj and its descendants.
UnityHierarchyGraph[comp]
gives the hierarchy graph containing the Unity game object with component comp and its descendants.
UnityHierarchyGraph[scene]
gives the hierarchy graph for all Unity game objects in the specified Unity scene scene.
Details
- UnityHierarchyGraph returns a Graph object representing the transform hierarchy of Unity game objects.
- UnityHierarchyGraph[All] gives a graph of all Unity game objects in the active Unity scene.
- UnityHierarchyGraph takes the same options as Graph.
Examples
open allclose allBasic Examples (2)
Scope (3)
Properties & Relations (1)
VertexList will return a list of the UnityGameObject objects and UnityScene objects used in the hierarchy graph:
Text
Wolfram Research (2019), UnityHierarchyGraph, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/UnityHierarchyGraph.html.
CMS
Wolfram Language. 2019. "UnityHierarchyGraph." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/UnityHierarchyGraph.html.
APA
Wolfram Language. (2019). UnityHierarchyGraph. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/UnityHierarchyGraph.html