Пример #1
0
    public IEnumerator FreePackage()
    {
        //body.gravityScale = 10f;
        constanteForce.force = -transform.up * gravity;
        yield return(new WaitForSeconds(1f));

        swatParticle.Stop();
        exhausted = false;
        curPackage.Free();
    }