Click or drag to resize

HandUIUpdateCommandColorOnPage Method

Applies a color to a command on the page. Pass in null to revert back to original default color.

Namespace:  ImmerseSDK.UI
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public bool UpdateCommandColorOnPage(
	string id,
	UICommand command,
	Nullable<UnityEngine.Color> newColor
)

Parameters

id
Type: SystemString
command
Type: ImmerseSDK.UI.CommandsUICommand
newColor
Type: SystemNullableUnityEngine.Color

Return Value

Type: Boolean
See Also