You've already forked ParticleEffectForUGUI
mirror of
https://github.com/mob-sakai/ParticleEffectForUGUI.git
synced 2026-05-14 20:20:06 +00:00
fix: fix warning
This commit is contained in:
@@ -326,7 +326,9 @@ namespace Coffee.UIExtensions
|
|||||||
|
|
||||||
// UIParticle for trail should be removed.
|
// UIParticle for trail should be removed.
|
||||||
var label = "This UIParticle component should be removed. The UIParticle for trails is no longer needed.";
|
var label = "This UIParticle component should be removed. The UIParticle for trails is no longer needed.";
|
||||||
|
#pragma warning disable CS0612
|
||||||
if (FixButton(current.m_IsTrail, label))
|
if (FixButton(current.m_IsTrail, label))
|
||||||
|
#pragma warning restore CS0612
|
||||||
{
|
{
|
||||||
DestroyUIParticle(current);
|
DestroyUIParticle(current);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,7 +86,11 @@ namespace Coffee.UIExtensions
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The target ParticleSystem to attract.
|
/// The target ParticleSystem to attract.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
#if UNITY_EDITOR
|
||||||
public new ParticleSystem particleSystem
|
public new ParticleSystem particleSystem
|
||||||
|
#else
|
||||||
|
public ParticleSystem particleSystem
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
get => m_ParticleSystem;
|
get => m_ParticleSystem;
|
||||||
set
|
set
|
||||||
|
|||||||
Reference in New Issue
Block a user