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. Dismiss Notice

Touch Controls Kit v1.5 - Powerful, Flexible and Intuitive to use touch kit [RELEASED]

Discussion in 'Assets and Asset Store' started by Victor-K, Nov 11, 2013.

  1. ahmed-yehia

    ahmed-yehia

    Joined:
    Sep 29, 2016
    Posts:
    4
    Just for anyone who might run into this, I fixed by limiting the listening OnDrag event in TCKTouchpad to the previously registered touch in the OnPointerDown:

    Code (CSharp):
    1. if (pointerData.pointerId == touchId && touchDown)
    2. {
    3. /*DoStuff*/
    4. }
     
  2. formatc2013

    formatc2013

    Joined:
    Jul 4, 2016
    Posts:
    30
    Hi Victor!
    I am struggling to set up the project in 2019.2 version with LWRP. I have a solid blue sceen in the example project. The problem seems to be that the the second cam for the GUI does not have the Clear flags - Depth only option. Is there a way to work around it? Tried to implement all this on the main cam but no luck.
    Thanks
     
  3. jproctor

    jproctor

    Joined:
    May 14, 2016
    Posts:
    2
    Hi, is there any tutorials on how to use Victors touch control kit, John Proctor (complete beginner)
     
  4. yousafyousaf

    yousafyousaf

    Joined:
    Apr 15, 2018
    Posts:
    5
    Thanks, Sir for sharing your valuable Work.
     
  5. andyblueAMS001

    andyblueAMS001

    Joined:
    Aug 13, 2017
    Posts:
    4
    Hi, I love the Free Asset from Asset Store for the Touch Controls Kits free but it does not work on unity 2017.1.0p5, it does not seem to enable the axis, i cannot enable the axis in the API.. thanks
     
  6. andyblueAMS001

    andyblueAMS001

    Joined:
    Aug 13, 2017
    Posts:
    4
    Hi I tried the Touch Controls Kits FREE, but the Axis I cannot enable, and it does not Tick even if I click..
     
  7. Ciava

    Ciava

    Joined:
    Jun 1, 2018
    Posts:
    50
    Hello! How do I hide a "button" having an identifier (E.g. "Btn1") ?
    Thank you!
     
  8. panic_media

    panic_media

    Joined:
    May 2, 2020
    Posts:
    9
    Hi, does anyone know how to get the the touchpad to work with the camera
     
  9. caste

    caste

    Joined:
    Dec 19, 2012
    Posts:
    9
    Hi . How to set axis names? In latest version is disabled . I have two joisticks . One i need set to "Horizontal" and "Vertical". And second to "Mouse X" and "Mouse Y" ???
     
  10. MickeyJ_88

    MickeyJ_88

    Joined:
    Nov 21, 2019
    Posts:
    6
    Hi All!
    For anyone still using this awesome asset in 2020 (thanks victor!)
    I finally figured out how to reset the player and camera positions. This would have been a lot simpler if I actually knew how to code but that's beside the point.
    Posting it here to help anyone as code-deficient as me in the future...

    Add the following to Victor's MobileFPS script.
    Don't forget to add these guys at the top:


    public GameObject thePlayer;
    public Transform SpawnPoint;


    And your method wherever:


    public void ResetPlayer()
    {
    thePlayer.transform.position = SpawnPoint.transform.position;
    myTransform.transform.rotation = Quaternion.identity;
    rotation = Mathf.Clamp(0f, 0f, 0f);
    cameraTransform.localEulerAngles = new Vector3(0f, 0f, 0f);
    }


    If this is the wrong way to do it I'm not even sorry because I spent hours figuring it out lol.
    Hope this helps some poor frustrated soul in need.