@@ -31,6 +31,13 @@ public class PlayerFX : MonoBehaviour
}
+ else
+ {
+ if(!owner.foot.TrigGround || !owner.foot.haveGravity)
+ Fx = null;
+ }
public void newOne()
{
@@ -46,7 +46,6 @@ public class Water_Ring : MonoBehaviour
particleSystems[i].Stop(false, ParticleSystemStopBehavior.StopEmitting);
- owner.GetComponent<PlayerFX>().Fx = null;
isEnd = true;