Skip to content

Commit 16ed322

Browse files
committed
Merge branch 'bug-fixes' into main
2 parents 6e0ba09 + 007cf04 commit 16ed322

File tree

192 files changed

+101
-104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+101
-104
lines changed

com.wug.behaviortreedebugger/Editor/Scripts/Settings/NodeProperty.cs

Lines changed: 0 additions & 16 deletions
This file was deleted.

com.wug.behaviortreedebugger/CHANGELOG.md renamed to com.wug.behaviortreevisualizer/CHANGELOG.md

Lines changed: 5 additions & 5 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.

com.wug.behaviortreedebugger/Editor/Scripts/BehaviorTreeGraphWindow.cs renamed to com.wug.behaviortreevisualizer/Editor/Scripts/BehaviorTreeGraphWindow.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
using UnityEngine;
1010
using UnityEngine.UIElements;
1111

12-
namespace WUG.BehaviorTreeDebugger
12+
namespace WUG.BehaviorTreeVisualizer
1313
{
1414
public class BehaviorTreeGraphWindow : EditorWindow
1515
{
1616

1717
public static BehaviorTreeGraphWindow Instance;
1818

19-
public static readonly string c_RootPath = "Packages/com.wug.behaviortreedebugger/Editor";
20-
public static readonly string c_RootPathData = "Assets/Behavior Tree Debugger (Beta)";
19+
public static readonly string c_RootPath = "Packages/com.wug.behaviortreevisualizer/Editor";
20+
public static readonly string c_RootPathData = "Assets/Behavior Tree Visualizer (Beta)";
2121
public static readonly string c_WindowPath = $"{c_RootPath}/Windows/";
2222
public static readonly string c_DataPath = $"{c_RootPathData}/Resources";
2323
public static readonly string c_StylePath = $"{c_RootPath}/Styles/BTGraphStyleSheet.uss";
@@ -32,12 +32,12 @@ public class BehaviorTreeGraphWindow : EditorWindow
3232
private List<UnityEngine.Object> m_SceneNodes = new List<UnityEngine.Object>();
3333
private SettingsWindow m_SettingsWindow;
3434

35-
[MenuItem("What Up Games/Behavior Tree Debugger")]
35+
[MenuItem("What Up Games/Behavior Tree Visualizer")]
3636
public static void Init()
3737
{
3838
SettingsData = new DataManager();
3939
Instance = GetWindow<BehaviorTreeGraphWindow>();
40-
Instance.titleContent = new GUIContent("Behavior Tree Debugger (Beta)");
40+
Instance.titleContent = new GUIContent("Behavior Tree Visualizer (Beta)");
4141
Instance.minSize = new Vector2(500, 500);
4242

4343
Instance.rootVisualElement.styleSheets.Add(AssetDatabase.LoadAssetAtPath<StyleSheet>(c_StylePath));
@@ -92,6 +92,7 @@ private void ConstructGraphView()
9292
};
9393

9494
GraphView.StretchToParentSize();
95+
//GraphView.UpdateViewTransform(new Vector3(100, 650, 0), new Vector3(0.5f, 0.5f, 0.5f));
9596
rootVisualElement.Add(GraphView);
9697

9798
}

com.wug.behaviortreedebugger/Editor/Scripts/BehaviorTreeGraphWindow.cs.meta renamed to com.wug.behaviortreevisualizer/Editor/Scripts/BehaviorTreeGraphWindow.cs.meta

File renamed without changes.

com.wug.behaviortreedebugger/Editor/Scripts/Graph.meta renamed to com.wug.behaviortreevisualizer/Editor/Scripts/Graph.meta

File renamed without changes.

com.wug.behaviortreedebugger/Editor/Scripts/Graph/BTGContainer.cs renamed to com.wug.behaviortreevisualizer/Editor/Scripts/Graph/BTGContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Threading.Tasks;
66
using UnityEngine;
77

8-
namespace WUG.BehaviorTreeDebugger
8+
namespace WUG.BehaviorTreeVisualizer
99
{
1010
[Serializable]
1111
public class BTGContainer : ScriptableObject

com.wug.behaviortreedebugger/Editor/Scripts/Graph/BTGContainer.cs.meta renamed to com.wug.behaviortreevisualizer/Editor/Scripts/Graph/BTGContainer.cs.meta

File renamed without changes.

0 commit comments

Comments
 (0)