diff --git a/Packages/src/Runtime/UIParticleAttractor.cs b/Packages/src/Runtime/UIParticleAttractor.cs index e412e63..c4db00a 100644 --- a/Packages/src/Runtime/UIParticleAttractor.cs +++ b/Packages/src/Runtime/UIParticleAttractor.cs @@ -83,13 +83,12 @@ namespace Coffee.UIExtensions set => m_OnAttracted = value; } -#if UNITY_EDITOR + /// + /// The target ParticleSystem to attract. + /// public new ParticleSystem particleSystem -#else - public ParticleSystem particleSystem -#endif { - get { return m_ParticleSystem; } + get => m_ParticleSystem; set { m_ParticleSystem = value;