C
C
Chvalov2016-04-03 20:38:13
Game development
Chvalov, 2016-04-03 20:38:13

How to lock an element in Unity so that it cannot be edited in the inspector?

Is it possible to block an element in Unity3d so that it can no longer be moved around the scene or make new values ​​in the inspector?
(For example, how to block layers in Adobe Photoshop)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2016-04-04
@Chvalov

Check out the Unity3D documentation: sitecoder.blogspot.ru/p/blog-page_73.html
These links answer the question and how exactly to do it (and more).

you can lock gameobject from being edited or moved all you need to do is to assign layer to the gameobject and at the top right corner you can find the layer dropdown , on opening the dropdown you can see the small lock icon with which you can lock the layer from edited in the scene view

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question