Unity2D创建角色移动脚本中,脚本报错:Assets\script\player.cs(21,36): error CS0246: The type or namespace name 'rigidbody2D' could not be found (are you missing a using directive or an assembly reference?)
用的是Unity 2022.1.4f1c1
Unity2D创建角色移动脚本中,脚本报错:Assets\script\player.cs(21,36): error CS0246: The type or namespace name 'rigidbody2D' could not be found (are you missing a using directive or an assembly reference?)
用的是Unity 2022.1.4f1c1