Search Unity

Discussion Crouch For mobile controls

Discussion in 'Input System' started by janowazir21, Feb 1, 2024.

  1. janowazir21

    janowazir21

    Joined:
    Jan 27, 2024
    Posts:
    3
    Hello to everyone, how can i add the crouch for mobile controls? Please someone help me.
     
  2. halley

    halley

    Joined:
    Aug 26, 2013
    Posts:
    2,442
    Whatever tutorial you find that has a "Jump" touch button, copy that and call it "Crouch" instead. Then add crouching features to your character control script and animations.
     
  3. janowazir21

    janowazir21

    Joined:
    Jan 27, 2024
    Posts:
    3
    Can you give me the code?