How can i use more than a hideflag in the same object in C#?
Example:
obj.hideFlags = HideFlags.HideInHierarchy + HideFlags.HideInInspector;
Thanks in advance…
How can i use more than a hideflag in the same object in C#?
Example:
obj.hideFlags = HideFlags.HideInHierarchy + HideFlags.HideInInspector;
Thanks in advance…
You need a bitwise OR (|) operator.
obj.hideFlags = HideFlags.HideInHierarchy | HideFlags.HideInInspector;
thanks for your reply. it worked...
– qwee