diff --git a/CHANGELOG.md b/CHANGELOG.md index cf2f015..30d277c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [3.0.0-preview.22](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.21...v3.0.0-preview.22) (2020-08-29) + + +### Bug Fixes + +* build fails ([ac080a4](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/ac080a44e4d872bc3f784fc222cc74aac7e795e9)), closes [#85](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/85) + # [3.0.0-preview.21](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.20...v3.0.0-preview.21) (2020-08-28) diff --git a/Scripts/UIParticle.cs b/Scripts/UIParticle.cs index 53b5f03..ca82029 100755 --- a/Scripts/UIParticle.cs +++ b/Scripts/UIParticle.cs @@ -15,7 +15,10 @@ namespace Coffee.UIExtensions [ExecuteInEditMode] [RequireComponent(typeof(RectTransform))] [RequireComponent(typeof(CanvasRenderer))] - public class UIParticle : MaskableGraphic, ISerializationCallbackReceiver + public class UIParticle : MaskableGraphic +#if UNITY_EDITOR + , ISerializationCallbackReceiver +#endif { [HideInInspector] [SerializeField] bool m_IsTrail = false; diff --git a/package.json b/package.json index 3dc4b4f..ffa1907 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.21", + "version": "3.0.0-preview.22", "unity": "2018.2", "license": "MIT", "repository": {