Esempio n. 1
0
        public static void SetupJumpButton(object value, ReferenceChain refChain)
        {
            if (!GUILayout.Button(">", GUILayout.ExpandWidth(false)))
            {
                return;
            }

            var sceneExplorer = Object.FindObjectOfType <SceneExplorer>();

            if (sceneExplorer == null)
            {
                return;
            }

            sceneExplorer.Show(ReferenceChainBuilder.Optimize(refChain, value));
        }