Click or drag to resize

HandUIViewCreateNewButton Method

Creates a new UI button

Namespace:  ImmerseSDK.UI
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public HandUIMenuItem CreateNewButton(
	UICommand command,
	UnityEngine.Transform parent,
	Action onClick,
	bool isEnabled,
	bool shouldBrieflySelectButtonOnClick
)

Parameters

command
Type: ImmerseSDK.UI.CommandsUICommand
parent
Type: UnityEngine.Transform
onClick
Type: SystemAction
isEnabled
Type: SystemBoolean
shouldBrieflySelectButtonOnClick
Type: SystemBoolean

Return Value

Type: HandUIMenuItem

Implements

IHandUIViewCreateNewButton(UICommand, Transform, Action, Boolean, Boolean)
See Also