Skip to content
This repository was archived by the owner on Feb 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #253 from AzureBerylBlue/patch-1
Browse files Browse the repository at this point in the history
Fix warnings thrown by CSGModel.cs in new Unity versions
  • Loading branch information
Henry00IS authored Mar 20, 2021
2 parents e27cda2 + eb4b3f2 commit 28346c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/CSGModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ private void OnSelectionChanged()
#else
if (PrefabUtility.GetPrefabParent(Selection.gameObjects[i]) == null
#endif
#if !UNITY_2018_3
#if !UNITY_2018_3_OR_NEWER
&& PrefabUtility.GetPrefabObject(Selection.gameObjects[i].transform) != null)
#else
&& PrefabUtility.GetPrefabInstanceHandle(Selection.gameObjects[i].transform) != null)
Expand Down

0 comments on commit 28346c6

Please sign in to comment.