// Use this for initialization void Start() { globals = transform.root.GetComponent <Globals>(); inspector = GameObject.Find("Inspector").GetComponent <Inspector>(); //dirty FindResources(); }
float entryHeight = 18f; //Height of each entry //Run when component is enabled void Start() { inspector = GameObject.Find("Inspector").GetComponent <Inspector>(); //Get Inspector (dirty) RefreshHierarchy(); //Get Hierarchy data }