LogicalError / realtime-CSG-for-unity

Realtime-CSG, CSG level editor for Unity
https://realtimecsg.com
MIT License
735 stars 77 forks source link

Hotfix for 2020.3.15f2 and lower #343

Closed nukeandbeans closed 2 years ago

nukeandbeans commented 2 years ago

Closes #342

Fixes missing AssetDatabase.SaveAssetIfDirty() API, by replacing it with `AssetDatabase.SaveAssets()' on Unity versions older than 2020.3.16, as an internal (reflection) equivalent does not exist.