Version: 2018.2
public static GameObject CreateToggle (Resources resources);

Parameters

resourcesObject 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.