mirror of
https://github.com/maxartz15/MA_TextureAtlasser.git
synced 2025-08-19 08:36:43 +02:00
#if UNITY_EDITOR
Added '#if UNITY_EDITOR' to all the scripts that should only run/be used in the editor.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections;
|
||||
#if UNITY_EDITOR
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
@@ -167,4 +168,5 @@ namespace MA_TextureAtlasserPro
|
||||
isLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
@@ -1,4 +1,5 @@
|
||||
using System.Collections;
|
||||
#if UNITY_EDITOR
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
@@ -132,4 +133,5 @@ namespace MA_TextureAtlasserPro
|
||||
isLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
@@ -1,4 +1,5 @@
|
||||
using System.Collections;
|
||||
#if UNITY_EDITOR
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
@@ -118,4 +119,5 @@ namespace MA_TextureAtlasserPro
|
||||
isLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user