Click or drag to resize

ToggleGameObjectCommand Constructor

Creates a new command

Namespace:  ImmerseSDK.Examples
Assembly:  ImmerseSDK.NotInDll (in ImmerseSDK.NotInDll.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public ToggleGameObjectCommand(
	UnityEngine.GameObject objectToToggle,
	Sprite spriteIcon,
	string helpText
)

Parameters

objectToToggle
Type: UnityEngine.GameObject
The GameObject to toggle
spriteIcon
Type: Sprite
Icon sprite
helpText
Type: SystemString
Optional text to display when the user hovers the pointer over the button
See Also