com.wallstop-studios.unity-helpers 2.0.0-rc73.11 → 2.0.0-rc73.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
using System;
|
|
4
4
|
using Extension;
|
|
5
5
|
using UnityEditor;
|
|
6
|
-
using UnityEditor.SceneManagement;
|
|
7
6
|
using UnityEngine;
|
|
8
7
|
using UnityEngine.SceneManagement;
|
|
9
8
|
using Object = UnityEngine.Object;
|
|
10
|
-
|
|
9
|
+
#if UNITY_EDITOR
|
|
10
|
+
using UnityEditor.SceneManagement;
|
|
11
|
+
#endif
|
|
11
12
|
public static partial class Helpers
|
|
12
13
|
{
|
|
13
14
|
public static T Find<T>(this Object component, string tag, bool log = true)
|
package/package.json
CHANGED