public IEnumerator FreePackage() { //body.gravityScale = 10f; constanteForce.force = -transform.up * gravity; yield return(new WaitForSeconds(1f)); swatParticle.Stop(); exhausted = false; curPackage.Free(); }
public IEnumerator FreePackage() { //body.gravityScale = 10f; constanteForce.force = -transform.up * gravity; yield return(new WaitForSeconds(1f)); swatParticle.Stop(); exhausted = false; curPackage.Free(); }