From 93d3919b6fb6ac186b3e99f8baaef9a044f583f2 Mon Sep 17 00:00:00 2001 From: mob-sakai Date: Wed, 24 Jan 2024 02:26:11 +0900 Subject: [PATCH] fix: fix warning --- Packages/src/Runtime/UIParticleAttractor.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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;