Method CreateGameObject
CreateGameObject(MenuCommand)
Create a newToggleGameObject.
Declaration
[MenuItem("GameObject/UI Toolkit/Controls/Toggle", false, 24)]
public static void CreateGameObject(MenuCommand menuCommand)Parameters
| Type | Name |
|---|---|
| MenuCommand | menuCommand |
