diff --git a/CHANGELOG.md b/CHANGELOG.md index f9dd1c8..8742ac6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [3.0.0-preview.2](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.1...v3.0.0-preview.2) (2020-02-13) + + +### Bug Fixes + +* compile error ([e2c5c7b](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/e2c5c7b05d1307877e2f37555d4845932d542930)) + # [3.0.0-preview.1](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v2.3.0...v3.0.0-preview.1) (2020-02-12) diff --git a/Samples~/Demo/UIParticle_Demo_FireExplosion.png b/Samples~/Demo/UIParticle_Demo_FireExplosion.png new file mode 100644 index 0000000..bd9e614 Binary files /dev/null and b/Samples~/Demo/UIParticle_Demo_FireExplosion.png differ diff --git a/Samples~/Demo/UIParticle_Demo_FireExplosion.tif.meta b/Samples~/Demo/UIParticle_Demo_FireExplosion.png.meta similarity index 100% rename from Samples~/Demo/UIParticle_Demo_FireExplosion.tif.meta rename to Samples~/Demo/UIParticle_Demo_FireExplosion.png.meta diff --git a/Samples~/Demo/UIParticle_Demo_FireExplosion.tif b/Samples~/Demo/UIParticle_Demo_FireExplosion.tif deleted file mode 100644 index 91c8202..0000000 Binary files a/Samples~/Demo/UIParticle_Demo_FireExplosion.tif and /dev/null differ diff --git a/Samples~/Demo/UIParticle_Demo_Fire_Atlas.png b/Samples~/Demo/UIParticle_Demo_Fire_Atlas.png index 938e078..dc71ee8 100644 Binary files a/Samples~/Demo/UIParticle_Demo_Fire_Atlas.png and b/Samples~/Demo/UIParticle_Demo_Fire_Atlas.png differ diff --git a/Scripts/Editor/UIParticleEditor.cs b/Scripts/Editor/UIParticleEditor.cs index 6f0990f..11de4ff 100644 --- a/Scripts/Editor/UIParticleEditor.cs +++ b/Scripts/Editor/UIParticleEditor.cs @@ -245,7 +245,7 @@ namespace Coffee.UIExtensions void OnSceneGUI() { - _shapeModuleUIs ??= _inspector?.m_ParticleEffectUI?.m_Emitters?.SelectMany(x => x.m_Modules).OfType()?.ToArray(); + _shapeModuleUIs = _shapeModuleUIs ?? _inspector?.m_ParticleEffectUI?.m_Emitters?.SelectMany(x => x.m_Modules).OfType()?.ToArray(); if (_shapeModuleUIs == null || _shapeModuleUIs.Length == 0 || _shapeModuleUIs[0].GetParticleSystem() != (target as UIParticle).cachedParticleSystem) return; diff --git a/package.json b/package.json index ac3da77..1a214e4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "com.coffee.ui-particle", "displayName": "UI Particle", "description": "This plugin provide a component to render particle effect for uGUI.\nThe particle rendering is maskable and sortable, without Camera, RenderTexture or Canvas.", - "version": "3.0.0-preview.1", + "version": "3.0.0-preview.2", "unity": "2018.2", "license": "MIT", "repository": {