ObjectExt.ShowInInspector Method (Object, Boolean, Boolean)

Controls whether to show the current object in the inspector and whether it is editable.

Namespace: UltimateXR.Extensions.Unity
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static void ShowInInspector(
	this Object self,
	bool show,
	bool editable
)

Parameters

 

self
Type: Object
The object to set
show
Type: System.Boolean
Whether to show it in the inspector
editable
Type: System.Boolean
Whether it is editable

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

ObjectExt Class
ShowInInspector Overload
UltimateXR.Extensions.Unity Namespace