This commit is contained in:
2026-06-16 16:57:07 +07:00
parent 26a21f63bb
commit 6880c4724e
198 changed files with 168 additions and 69 deletions

View File

@@ -1,3 +1,5 @@
#if UNITY_EDITOR
using Fusion;
using UnityEditor;
using UnityEngine;
@@ -42,4 +44,5 @@ namespace Editor
return Selection.activeGameObject.GetComponent<StickyNote>() == null;
}
}
}
}
#endif

View File

@@ -24,6 +24,7 @@
// 5. The tool will now save automatically in the background according to the schedule.
// ===============================================================================
#if UNITY_EDITOR
using System;
using UnityEditor;
using UnityEditor.SceneManagement;
@@ -172,4 +173,5 @@ namespace Editor
ResetTimer();
}
}
}
}
#endif

View File

@@ -17,6 +17,7 @@
// 5. Focus the Scene View and use your assigned shortcuts to Save/Load camera angles.
// ===============================================================================
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
using System.Globalization;
@@ -223,4 +224,5 @@ namespace Editor
}
}
}
}
}
#endif

View File

@@ -22,6 +22,7 @@
// 4. Click the desired axis button (X, Y, or Z).
// ===============================================================================
#if UNITY_EDITOR
using System.Linq;
using UnityEditor;
using UnityEngine;
@@ -128,4 +129,5 @@ namespace Editor
Debug.Log($"<color=#FFCC00><b>[DistributeTool]</b></color> Distributed {sorted.Count} objects along the {(axis == 0 ? "X" : axis == 1 ? "Y" : "Z")} axis.");
}
}
}
}
#endif

View File

@@ -22,6 +22,7 @@
// 4. Adjust the sliders and click "Apply" or "Randomize Everything".
// ===============================================================================
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
@@ -186,4 +187,5 @@ namespace Editor
Debug.Log($"<color=#FF8800><b>[LevelDecorator]</b></color> Scale randomized for {Selection.transforms.Length} objects.");
}
}
}
}
#endif

View File

@@ -21,6 +21,7 @@
// 3. Use the "MEASURE" overlay in the Scene View to toggle axis details.
// ===============================================================================
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
using System.Collections.Generic;
@@ -146,4 +147,5 @@ namespace Editor
return style;
}
}
}
}
#endif

View File

@@ -23,6 +23,7 @@
// 4. In the Scene View, press your shortcut to move the player.
// ===============================================================================
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
@@ -212,4 +213,5 @@ namespace Editor
return null;
}
}
}
}
#endif

View File

@@ -21,6 +21,7 @@
// 3. Hover over any AudioClip; a Play/Stop icon will appear on the right side.
// ===============================================================================
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
using System;
@@ -160,4 +161,5 @@ namespace EditorTools
}
}
}
}
}
#endif

View File

@@ -21,6 +21,7 @@
// 3. Add your scenes to File -> Build Settings to see them in the list.
// ===============================================================================
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
using UnityEditor.SceneManagement;
@@ -223,4 +224,5 @@ namespace Editor
this.ShowNotification(new GUIContent("Data Cleared Successfully!"));
}
}
}
}
#endif

View File

@@ -1,3 +1,4 @@
#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
using System.Diagnostics;
@@ -69,3 +70,4 @@ public class ReadmeUpdater : EditorWindow
}
}
}
#endif

View File

@@ -1,3 +1,4 @@
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
using UnityEditor.IMGUI.Controls;
@@ -21,3 +22,4 @@ public class ReflectTreeViewState : EditorWindow
Debug.Log(sb.ToString());
}
}
#endif

View File

@@ -21,6 +21,7 @@
// 3. Drag and drop your Boot Scene into the slot and enable the tool.
// ===============================================================================
#if UNITY_EDITOR
using System.IO;
using UnityEditor;
using UnityEditor.SceneManagement;
@@ -155,4 +156,5 @@ namespace Editor
}
}
}
}
}
#endif

View File

@@ -26,6 +26,7 @@
// 3. Select the GameObject to see the upgraded Inspector and Scene View note!
// ===============================================================================
#if UNITY_EDITOR
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
@@ -148,4 +149,5 @@ namespace Editor
return tex;
}
}
}
}
#endif

View File

@@ -1,3 +1,4 @@
#if UNITY_EDITOR
// ===============================================================================
// TimeLord - In-Scene Time Manipulation Tool
//
@@ -143,4 +144,5 @@ namespace Editor
GUI.backgroundColor = oldBgColor;
}
}
}
}
#endif