Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

How to make Standard Asset's Cross Platform Input's MobileSingleStickControl like PUBG?

Discussion in 'UGUI & TextMesh Pro' started by UnbreakableOne, Jan 31, 2019.

  1. UnbreakableOne

    UnbreakableOne

    Joined:
    Nov 16, 2013
    Posts:
    168
    Hi,

    I want to have a big space on left side of the screen that when player touches that part, it would become the center of the MobileSingleStickControl, like how 3rd Person games and FPS games are usually on mobile.

    Currently player has to touch and grab the MobileSingleStickControl.

    (By the way "MobileSingleStickControl" is name of the prefab that has mobile joystick in Standard Asset's Cross Platform Input)

    Hope I made myself clear.

    Thanks!
     
  2. UnbreakableOne

    UnbreakableOne

    Joined:
    Nov 16, 2013
    Posts:
    168
    Perhaps I wasn't clear enough. To put it simply, I have a virtual joystick that works just fine but I want it to work when player touches around the joystick itself as well and move the joystick to that position and would work like normally as it should.

    Same scheme that most FPS or 3rd Person Shooter games usually have on mobile.