This version of Unity is unsupported.

DefaultControls.CreateToggle

Declaration

public static GameObject CreateToggle(Resources resources);

Parameters

resources Object with resources to use.

Returns

GameObject The root GameObject of the created element.

Description

Create a toggle.

Note: See Resources for details about the argument.