Class ShapeFactory
Provides methods to instantiate GameObjects in the Editor using ProBuilder shapes.
Inherited Members
Namespace: UnityEngine.ProBuilder
Assembly: Unity.ProBuilder.dll
Syntax
public static class ShapeFactory
Methods
Name | Description |
---|---|
Instantiate(Type, PivotLocation) | Creates a specific shape with default parameters. |
Instantiate(Shape, PivotLocation) | Creates a specific shape with default parameters. |
Instantiate<T>(PivotLocation) | Creates a default shape with default parameters. |