Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question access XRHelpURLConstants.k_TeleportationArea from script in unity 2022

Discussion in 'VR' started by Ikaro88, May 17, 2024.

  1. Ikaro88

    Ikaro88

    Joined:
    Jun 6, 2016
    Posts:
    307
    I updated my unity project from 2020 to 2022 and now I get on this code:
    Code (CSharp):
    1. [HelpURL(XRHelpURLConstants.k_TeleportationArea)]
    this error:
    Code (CSharp):
    1. XRHelpURLConstants is inaccessible due to its protection level
    Since the class is not public, how to access this from another class?
    I am a little bit confused