ObjectExt.ShowInInspector Method (Object, Boolean)

Controls whether to show the current object in the inspector.

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 = true
)

Parameters

 

self
Type: Object
The object to show
show (Optional)
Type: System.Boolean
Whether to show the object or now

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