- Home /
What is the component name above transform?
I am trying to hideflags on the name,tag and layer of my newly created editor object. I have everything else disabled correctly (transform etc.) But I do not know what the name is of the group of information normally right above the transform component. Does anyone know? Here is what I am doing:
compass.GetComponent<?>().hideFlags = HideFlags.HideInInspector;
compass.GetComponent<Transform>().hideFlags = HideFlags.HideInInspector;
Answer by robhuhn · Sep 16, 2013 at 01:43 PM
That's actually not a component. That group just sum up some properties:
gameObject.activeSelf
gameObject.name
gameObject.isStatic
gameObject.tag
gameObject.layer
Well, have you set the hideFlags of your gameObject as well? What's actually the purpose of inspecting an object and removing all information of that object?
Your answer
Follow this Question
Related Questions
onCollisioStay only for specific objects 1 Answer
Name and tag 1 Answer
Getting Components with the same name 3 Answers