Version: 2017.2
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.