Search Unity

Resolved getting sliderValue from a VR Pinch slider.

Discussion in 'VR' started by Roulace, Feb 8, 2021.

Thread Status:
Not open for further replies.
  1. Roulace

    Roulace

    Joined:
    Feb 5, 2017
    Posts:
    27
    I'm trying to sync the sliderValue of an MRTK pinch slider over normcore VR, but I'm having trouble grabbing the sliderValue off the object itself. Is it not attached to the game object?
     
  2. sambilbow

    sambilbow

    Joined:
    May 3, 2018
    Posts:
    11
    Also having this issue, did you manage to resolve it?
     
  3. sambilbow

    sambilbow

    Joined:
    May 3, 2018
    Posts:
    11
    Resolved by adding
    Code (CSharp):
    1. using Microsoft.MixedReality.Toolkit.UI;
    to the top of my script.
     
  4. Roulace

    Roulace

    Joined:
    Feb 5, 2017
    Posts:
    27
    Oh yeah, I thinks that's what I ended up doing. Sorry, I honestly forgot I posted here.
     
Thread Status:
Not open for further replies.