Switch/Toggle Light On-Off | Unity XR Interaction Toolkit

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 15

  • @radiomasha
    @radiomasha Рік тому +1

    Thank you! I was very helpful

    • @wisdomkhan
      @wisdomkhan  Рік тому

      What are you making miss?

    • @radiomasha
      @radiomasha Рік тому +1

      @@wisdomkhan a project at uni :)

  • @barzanfuntime6486
    @barzanfuntime6486 7 місяців тому +1

    Thanks

  • @haticebingol6924
    @haticebingol6924 5 місяців тому

    thank you for the video. can i do this with moving button? and should i add all component?

    • @wisdomkhan
      @wisdomkhan  5 місяців тому

      Moving button?

    • @haticebingol6924
      @haticebingol6924 5 місяців тому

      @@wisdomkhan the button which can move when i click

  • @srushtimande2226
    @srushtimande2226 Рік тому +1

    will this work for audio source too? if not then what to add in the toggle script?

    • @wisdomkhan
      @wisdomkhan  Рік тому

      Yeah it'll work for any game object. Try and understand the logic and unity api and structure of a unity scene here ma'am.

  • @ethanowen5057
    @ethanowen5057 7 місяців тому

    hello, this doesn't work when i use grip instead of raycasts on the xr rig, any suggestions?

    • @wisdomkhan
      @wisdomkhan  7 місяців тому

      Grip instead of the raycast?
      Also, if you have a VR world canvas then don't forget to add a Tracked Device Graphic Raycaster component to your canvas.

  • @srushtimande2226
    @srushtimande2226 Рік тому +1

    How to get the XR Device simulator?

    • @wisdomkhan
      @wisdomkhan  Рік тому

      You need to install the Samples from the XR-plugin pkg from the pkg manager. Then just search in your assets.

    • @srushtimande2226
      @srushtimande2226 Рік тому

      i have XR Device simulator settings, but nothing else
      @@wisdomkhan

    • @wisdomkhan
      @wisdomkhan  Рік тому

      ​@@srushtimande2226 you can find docs online or on yt for your query. It's not viable to help from here.