3.0.0-preview.2

# [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](e2c5c7b05d))
This commit is contained in:
semantic-release-bot
2020-02-13 09:34:48 +00:00
parent a4cbebeb29
commit c1d747695d
7 changed files with 9 additions and 2 deletions

View File

@@ -245,7 +245,7 @@ namespace Coffee.UIExtensions
void OnSceneGUI()
{
_shapeModuleUIs ??= _inspector?.m_ParticleEffectUI?.m_Emitters?.SelectMany(x => x.m_Modules).OfType<ShapeModuleUI>()?.ToArray();
_shapeModuleUIs = _shapeModuleUIs ?? _inspector?.m_ParticleEffectUI?.m_Emitters?.SelectMany(x => x.m_Modules).OfType<ShapeModuleUI>()?.ToArray();
if (_shapeModuleUIs == null || _shapeModuleUIs.Length == 0 || _shapeModuleUIs[0].GetParticleSystem() != (target as UIParticle).cachedParticleSystem)
return;