public void Fix() { broken = false; rigidbody2D.simulated = false; animator.SetTrigger("Fixed"); ruby.CountRobotFixed(); smokeEffect.Stop(); // Destroy(smokeEffect.gameObject); }
public void Fix() { broken = false; rigidbody2D.simulated = false; animator.SetTrigger("Fixed"); ruby.CountRobotFixed(); smokeEffect.Stop(); // Destroy(smokeEffect.gameObject); }