Right now, I am following this guide to build an inventory system: https://www.youtube.com/watch?v=0tPmMVFlFZc&list=PLr-BtIHhMClFtelWGOv3AUYH4dQw7fc-I&ab_channel=Dennis
He gets to a point where he adds the code
if (!inventoryUi.InventoryOpen)
{
RotateView();
}
into the first person controller, but the controller is the outdated(?) FPS controller, as the one I have is just the modular first person controller that you can import in unity. Since this is older code, and the current controller i use does not have the RotateView command, how do I get the same effect?