Ejemplo n.º 1
0
        public override void OnInspectorGUI()
        {
            GUILayout.Label("BT Debugger", EditorStyles.centeredGreyMiniLabel);

            if (GUILayout.Button("Open BT Debugger Window"))
            {
                BTDebuggerWindow.selectedDebugger = ((UBTDebugger)target);
                BTDebuggerWindow.selectedObject   = BTDebuggerWindow.selectedDebugger.transform;
                BTDebuggerWindow.ShowWindow();
            }
        }
        public static void ShowWindow()
        {
            BTDebuggerWindow window = EditorWindow.GetWindow <BTDebuggerWindow>(false, "BT Debugger");

            window.Show();
        }