- Home /
How to make a crouch button for mobile?
I am a beginner, can you explain step by step how to add a Crouch button for mobile devices (Android)
for instance Like this ( First Person Controller with 1 Crouch button)
i am using RigidbodyFirstPersonController
Comment
Answer by Mr_Teels · Jul 11, 2018 at 01:16 PM
https://docs.unity3d.com/Manual/MobileInput.html
Create a UI Button. Programm the "Crouch" Funktion, trigger it with the button.
Thats not a question that can be answered in a one liner ... you need to lern the Unity UI parts, Mobile Inputs, C# Scripting and mayby the animator.
Look for some tutorials. There are some good ones out there