Class SceneDragAndDrop
Namespace: UnityEditor.U2D
Syntax
public static class SceneDragAndDrop : object
Methods
Create(SpriteShape, Vector3, SceneView)
Declaration
public static GameObject Create(SpriteShape shape, Vector3 position, SceneView sceneView)
Parameters
Type | Name | Description |
---|---|---|
SpriteShape | shape | |
Vector3 | position | |
SceneView | sceneView |
Returns
Type | Description |
---|---|
GameObject |