TurnOffPhysics()

public void TurnOffPhysics()
    {
        rb2D.linearVelocity = new Vector2(0f, 0f);
        rb2D.gravityScale = 0;
    }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *