Hi guys,
I’m currently building TileVania using Unity 2019.3.12 with VS community 2019. I’ve download and imported the Standard Assets from the Asset Store. However, when I tried to call it in VS via “using UnityStandardAssets.CrossPlatformInput” VS gives me a warning that the CrossPlatformInput namespace does not exist in the namespace UnityStandardAssest. How can I get around it to solve this?
In addition, I saw in one of the comments in udemy, someone had got around this by using Input.GetAxis(“Horizontal”) instead of CrossPlatformInputManager.GetAxis(“Horizontal”). However, when I tried the same approach, it kinda works. But my character, instead of walking horizontally, it kinda rotates across the platforms like it is doing cartwheels instead. I’ve used the exact same as shown in the video, except where Rick uses CrossPlatformInputManager.GetAxis(“Horizontal”), I changed it to Input.GetAxis(“Horizontal”). Can anyone give me a heads up, as to where I did wrong in this part as well?
thanks