update
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -1,3 +1,4 @@
|
||||
#if UNITY_EDITOR
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
using System.Diagnostics;
|
||||
@@ -69,3 +70,4 @@ public class ReadmeUpdater : EditorWindow
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -1,3 +1,4 @@
|
||||
#if UNITY_EDITOR
|
||||
// ===============================================================================
|
||||
// TimeLord - In-Scene Time Manipulation Tool
|
||||
//
|
||||
@@ -143,4 +144,5 @@ namespace Editor
|
||||
GUI.backgroundColor = oldBgColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user