In this project, Unity’s ‘Starter Assets: Character Controllers | URP’ asset has been used. To make the project work, you need to replace the asset’s FirstPersonController script with the code I provided.
Codes:
https://gist.github.com/38804060c61bd7b1b95ba0dd17d3c03f.git
Voir sur youtube