示例#1
0
 private void activateDustParticles(float direction)
 {
     if (Mathf.Abs(direction) > 0)
     {
         particleManager.activateDustParticles(true);
         particleManager.rotateDustParticles(direction > 0);
         return;
     }
     particleManager.activateDustParticles(false);
 }