public void SetColor(Bullet shot, bulletColor color) { shot.anim.SetTrigger(color.ToString()); shot.GetObj().tag = color.ToString(); }
public void SetColor(Bullet shot, bulletColor color) { shot.anim.SetTrigger(color.ToString()); //shot.anim.SetInteger("CherryColor", 3); //shot.anim.SetInteger("CherryColor", bulletColor.color); }