Method CreateGameObject
CreateGameObject(MenuCommand)
Create a newVisualElementGameObject.
Declaration
[MenuItem("GameObject/UI Toolkit/Containers/Visual Element", false, 12)]
public static void CreateGameObject(MenuCommand menuCommand)
Parameters
Type | Name |
---|---|
MenuCommand | menuCommand |