Skip to content

Commit

Permalink
fix: fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Jan 24, 2024
1 parent 0c1022c commit 93d3919
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Packages/src/Runtime/UIParticleAttractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,12 @@ public UnityEvent onAttracted
set => m_OnAttracted = value;
}

#if UNITY_EDITOR
/// <summary>
/// The target ParticleSystem to attract.
/// </summary>
public new ParticleSystem particleSystem
#else
public ParticleSystem particleSystem
#endif
{
get { return m_ParticleSystem; }
get => m_ParticleSystem;
set
{
m_ParticleSystem = value;
Expand Down

0 comments on commit 93d3919

Please sign in to comment.