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. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question Define objects in scene that can't be manipulated by the editor tools?

Discussion in 'EditorXR' started by Underwurlde, Mar 3, 2021.

  1. Underwurlde

    Underwurlde

    Joined:
    Jul 6, 2017
    Posts:
    6
    I'm probably missing something obvious but is there a way to designate objects in a scene that should not be able to be selected when using XREditor in play mode? I'm using the Context Manager.

    Use case is for things like large decorative objects in a level that have been locked down for the design, it would be handy to prevent them for being accidentally moved by team members who just want to edit the traversable sections of a game level. Thanks.
     
  2. Underwurlde

    Underwurlde

    Joined:
    Jul 6, 2017
    Posts:
    6
    Ah, think I've found it, just lock them in the hierarchy and then they can't be selected.
     
    amirebrahimi_unity likes this.