Corrected Unity version for prefab support.

UNITY_2018_4_OR_NEWER -> UNITY_2018_3_OR_NEWER
This commit is contained in:
max 2019-11-29 00:12:04 +01:00
parent e894fcf797
commit d8c59e86ca

View File

@ -62,7 +62,7 @@ namespace MA_Mesh
assetPath = savePath + prefabName + ".prefab";
#if UNITY_2018_4_OR_NEWER
#if UNITY_2018_3_OR_NEWER
PrefabUtility.SaveAsPrefabAsset(gameObject, assetPath);