Skip to content

Commit

Permalink
Corrected Unity version for prefab support.
Browse files Browse the repository at this point in the history
UNITY_2018_4_OR_NEWER -> UNITY_2018_3_OR_NEWER
  • Loading branch information
maxartz15 committed Nov 28, 2019
1 parent e894fcf commit d8c59e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/MA_ToolBox/MA_Utilities/MeshUtils/MA_MeshUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static string MA_SaveMeshPrefab(Mesh mesh, string prefabName, string save

assetPath = savePath + prefabName + ".prefab";

#if UNITY_2018_4_OR_NEWER
#if UNITY_2018_3_OR_NEWER

PrefabUtility.SaveAsPrefabAsset(gameObject, assetPath);

Expand Down

0 comments on commit d8c59e8

Please sign in to comment.