Obtenez l'unité des composants rigidbody
//The Variable
Rigibody rb;
void Start()
{
rb = GetComponent<Rigidbody>();
}
Comfortable Capybara
//The Variable
Rigibody rb;
void Start()
{
rb = GetComponent<Rigidbody>();
}
public Rigidbody rigidbody;