Skip to content

Commit 1de3ba3

Browse files
author
BlackSpiral15
committed
Total update
1 parent 60f62ac commit 1de3ba3

File tree

69 files changed

+1752
-659
lines changed

Some content is hidden

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

69 files changed

+1752
-659
lines changed

Assets/Scripts/Dependencies/EditorLocalization.meta renamed to Assets/DeadScriptSearcher.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Examples.meta renamed to Assets/DeadScriptSearcher/Examples.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Scripts.meta renamed to Assets/DeadScriptSearcher/Scripts.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Scripts/DeadScripts/ComponentData.cs renamed to Assets/DeadScriptSearcher/Scripts/ComponentData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public ComponentData(ulong fileID, SceneFile sceneFile)
4848
fileEntry = "";
4949
List<string> entryList = sceneFile.GetComponentEntry(fileID);
5050
if (entryList == null) return;
51-
fileEntry = entryList.List2String();
51+
fileEntry = entryList.GetText();
5252
}
5353
}
5454
}

Assets/Scripts/DeadScripts/DeadScripts.cs renamed to Assets/DeadScriptSearcher/Scripts/DeadScripts.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static void SelectDeads()
4747
public static void UpdateDeadList()
4848
{
4949
SceneFile.ReloadCurrentSceneFile();
50-
var objects = CoreFunctions.CollectScene().Transforms2GameObjects();
50+
var objects = SceneManager.GetActiveScene().CollectScene().ToGameObjects();
5151
int count = objects.Count;
5252

5353
if (deadOIDs == null) deadOIDs = new List<ObjectID>();

Assets/Scripts/EditorWindows/DeadSearcherWindow.cs renamed to Assets/DeadScriptSearcher/Scripts/DeadSearcherWindow.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private void OnGUI()
3838
scrollPos = EditorGUILayout.BeginScrollView(scrollPos, GUILayout.Height(position.height));
3939

4040
OpenStandartBack();
41-
Localization.DrawLanguageSelect();
41+
SpiralLocalization.DrawLanguageSelect();
4242
SceneFile.DrawSceneReloadButton();
4343
DrawDebugMode();
4444
DrawSimpleMode();
@@ -65,7 +65,7 @@ private void DrawDebugMode()
6565
private void DrawSimpleMode()
6666
{
6767
SpiralEditor.BeginPanel(strObjectsOnly);
68-
if (SpiralEditor.DrawRoundButton(strObjectsOnlyButton))
68+
if (SpiralEditor.Button(strObjectsOnlyButton))
6969
{
7070
DeadScripts.UpdateDeadList();
7171
DeadScripts.SelectDeads();
@@ -81,7 +81,7 @@ private void DrawBoxSceneState()
8181
SpiralEditor.BeginPanel(GroupType.Vertical);
8282

8383
SpiralEditor.BeginPanel(GroupType.Horizontal);
84-
GUIStyle styleSceneIsDirty = new GUIStyle(SpiralEditor.boldLabel);
84+
GUIStyle styleSceneIsDirty = new GUIStyle(SpiralStyles.boldLabel);
8585
string sceneIsDirty = DeadScripts.isDirty ?
8686
strSceneWasChanged :
8787
strSceneClear;
@@ -93,7 +93,7 @@ private void DrawBoxSceneState()
9393
EditorGUI.indentLevel += 1;
9494
foldoutSceneSearchHelp = EditorGUILayout.Foldout(foldoutSceneSearchHelp,
9595
strShowHelp,
96-
true, SpiralEditor.foldout);
96+
true, SpiralStyles.foldout);
9797
EditorGUI.indentLevel -= 1;
9898
if (foldoutSceneSearchHelp)
9999
{
@@ -103,7 +103,7 @@ private void DrawBoxSceneState()
103103
SpiralEditor.EndPanel();
104104
SpiralEditor.EndPanel();
105105

106-
if (SpiralEditor.DrawRoundButton(strFindDeadGUIDs))
106+
if (SpiralEditor.Button(strFindDeadGUIDs))
107107
{
108108
DeadScripts.SearchForDeads();
109109
if (DeadScripts.deadGUIDs.Count > 0) foldoutDeads = true;
@@ -124,7 +124,7 @@ private void ShowDeadGUIDs()
124124
EditorGUI.indentLevel += 1;
125125
foldoutDeads = EditorGUILayout.Foldout(foldoutDeads,
126126
strShowList,
127-
true, SpiralEditor.foldout);
127+
true, SpiralStyles.foldout);
128128
EditorGUI.indentLevel -= 1;
129129
}
130130
else
@@ -170,7 +170,7 @@ private void DrawDeadGUIDEntry(ComponentGUID dead)
170170
{
171171
SpiralEditor.BeginPanel(GroupType.Vertical);
172172
EditorGUILayout.SelectableLabel(strGID);
173-
if (SpiralEditor.DrawRoundButton(strSelectObject))
173+
if (SpiralEditor.Button(strSelectObject))
174174
{
175175
Selection.objects = new Object[1] { dead.oids[i].gameObject };
176176
}
@@ -183,7 +183,7 @@ private void DrawDeadGUIDEntry(ComponentGUID dead)
183183
}
184184
}
185185

186-
if (SpiralEditor.DrawRoundButton(strSelectObjects))
186+
if (SpiralEditor.Button(strSelectObjects))
187187
{
188188
ObjectID.Select(dead.oids);
189189
}

Assets/Scripts/EditorWindows/ObjectAuditorWindow.cs renamed to Assets/DeadScriptSearcher/Scripts/ObjectAuditorWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ private void OnGUI()
5353
titleContent.text = strMonoView_Caption;
5454
scrollPos = EditorGUILayout.BeginScrollView(scrollPos, GUILayout.Height(position.height));
5555
OpenStandartBack();
56-
Localization.DrawLanguageSelect();
56+
SpiralLocalization.DrawLanguageSelect();
5757
SceneFile.DrawSceneReloadButton();
5858

5959
if (oids.Count == 0)

Assets/Scripts/DeadScripts/SceneFile.cs renamed to Assets/DeadScriptSearcher/Scripts/SceneFile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ private static bool IsMono(string line, bool dbg = false, ulong scriptID = 0)
431431
public static void DrawSceneReloadButton()
432432
{
433433
SpiralEditor.BeginPanel(GroupType.Vertical);
434-
if (SpiralEditor.DrawRoundButton(strSceneFile_ReuploadCurrentSceneText))
434+
if (SpiralEditor.Button(strSceneFile_ReuploadCurrentSceneText))
435435
{
436436
ReloadCurrentSceneFile();
437437
}

0 commit comments

Comments
 (0)