fix: fix warning

This commit is contained in:
mob-sakai
2024-01-29 10:16:32 +09:00
parent f1e672470c
commit 9d04e41cde
2 changed files with 6 additions and 0 deletions

View File

@@ -326,7 +326,9 @@ namespace Coffee.UIExtensions
// UIParticle for trail should be removed.
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))
#pragma warning restore CS0612
{
DestroyUIParticle(current);
}