Click or drag to resize

HandGuiAddCustomPage Method (String, Sprite, String, HandGuiPage)

Adds a custom page to the HandGui from a prefab

Namespace:  ImmerseSDK.UI
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public bool AddCustomPage(
	string id,
	Sprite topShelfSpriteIcon,
	string helpText,
	HandGuiPage handGuiPagePrefab
)

Parameters

id
Type: SystemString
Id For this page
topShelfSpriteIcon
Type: Sprite
Icon to show in the page select menu
helpText
Type: SystemString
Information about the page
handGuiPagePrefab
Type: ImmerseSDK.UIHandGuiPage
The Prefab to load in (not an instance to the prefab)

Return Value

Type: Boolean
If hand UI was created
See Also