mirror of
https://github.com/maxartz15/MA_TextureAtlasser.git
synced 2024-11-21 21:05:38 +01:00
Corrected Unity version for prefab support.
UNITY_2018_4_OR_NEWER -> UNITY_2018_3_OR_NEWER
This commit is contained in:
parent
e894fcf797
commit
d8c59e86ca
@ -62,7 +62,7 @@ namespace MA_Mesh
|
|||||||
|
|
||||||
assetPath = savePath + prefabName + ".prefab";
|
assetPath = savePath + prefabName + ".prefab";
|
||||||
|
|
||||||
#if UNITY_2018_4_OR_NEWER
|
#if UNITY_2018_3_OR_NEWER
|
||||||
|
|
||||||
PrefabUtility.SaveAsPrefabAsset(gameObject, assetPath);
|
PrefabUtility.SaveAsPrefabAsset(gameObject, assetPath);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user