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