how to add reference to rigidbody 2d
public Rigidbody2D rb;
how to add rigidbody in unity
Hi, I know you are learning game dev,awesome to add rigidbody you can do one thing you can simply
choose the gameobject on which you want to apply rigidbody component
remember that you have to go the inspector panel and click on plus
at the bottom
and search for rigidbody
and click Enter
Here you go:-- :)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us