Skip to content
Snippets Groups Projects
Commit e34a64d9 authored by lacoche's avatar lacoche
Browse files

Ping game object when generating virtual counterpart from graph editor window

parent fd9f1303
No related branches found
No related tags found
No related merge requests found
......@@ -1352,6 +1352,8 @@ namespace ETSI.ARF.WorldStorage.Editor.Windows
visual.transform.SetPositionAndRotation(pos, Quaternion.Euler(rot));
}
Selection.activeGameObject = visual ;
EditorGUIUtility.PingObject(visual);
visual.transform.Find("Canvas/Text").GetComponent<TextMeshProUGUI>().text = $"Name: { name }\nUUID: { UUID }";
return visual;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment