[This is preliminary documentation and is subject to change.]

Provides a standard Editor GUI for managing scene drawing.

Namespace: org.critterai.nav.u3d.editor
Assembly: cai-nav-u3d-editor (in cai-nav-u3d-editor.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool OnGUI(
	INavmeshData target,
	string label,
	bool isInspector,
	bool includeAreaOption
)
Public Function OnGUI ( _
	target As INavmeshData, _
	label As String, _
	isInspector As Boolean, _
	includeAreaOption As Boolean _
) As Boolean
public:
bool OnGUI(
	INavmeshData^ target, 
	String^ label, 
	bool isInspector, 
	bool includeAreaOption
)

Parameters

target
INavmeshData
The object being managed by the GUI.
label
String
The label of the 'show' toggle.
isInspector
Boolean
True if the inspector format should be used.
includeAreaOption
Boolean
True if the option to color by area should be displayed.

Return Value

True the display of the target has been toggled on.

See Also