Closed deltamish closed 6 years ago
It actually works for me using the same code, that's weird. I've tested it on Unity 5.6.2f1. Which Unity version are you using?
P.S. As a side note, it is sufficient to call AddToPseudoScene just once (maybe in the Start function).
Hey,
I am using Unity Version 2018.1b
Haha yeah. since it was not coming I added it to Update. Hoping it would come
thanks
I was able to reproduce the issue on Unity 2017.3.0p2. It was caused by a bug in Unity UI. It can be resolved by changing Pos X of the HierarchyItemRoot-Content-ExpandToggle prefab. When Pos X is 0, you can't click the dropdown, when it is 0.001, you can. Strange, huh?
I'll update the package shortly.
Aaaand it's live! ^^
I followed the steps as you said. Dragged RuntimeHierarchy Prefab into my scene, Created A new Script with following code
` using System.Collections; using System.Collections.Generic; using UnityEngine; using RuntimeInspectorNamespace; public class RunTimeHirearchyHelper : MonoBehaviour {
public RuntimeHierarchy runtimeHierarchy; public Transform TestTransform; // Use this for initialization void Start () {
}
The Test Psudescene is being created but the objects /children are empty and doesnt show anything