Exemple #1
0
 public void Puff()      // Start pufferfish puffing
 {
     animator.SetTrigger("Puff");
     soundMan.PlaySound("puff", false, false, new Vector2(this.transform.position.x, this.transform.position.y), 0.5f);
     if (!puff)
     {
         perDataScript.AddNearPuffs(1);
         puff = true;
     }
 }