How to add Android Touch Controls to Unity Survival Shooter Tutorial
I have followed the Unity Survival Shooter tutorial (https://unity3d.com/learn/tutorials/projects/survival-shooter-project) and I am testing it in my android phone using Unity Remote 4.
Somehow I was only able to work its movement using the Unity CrossPlatformInput Standard Asset > Single Joystick prejab, and I do not know how to make it rotate and shoot.
I tried the other prefabs and edited some things but I can't really figure it out. Unity Learn has no tutorials for adding touch controls or even using the Standard Asset CrossPlatform controls. Please help.
Answer by MechanicalGaming · Dec 09, 2015 at 12:35 AM
Assign it to buttons and create a UI. Instead of the asdw stuff, assign the commands to a separate void and use the same script. Then put the script on the EventSystem and have the buttons (onclick) activate that void.