C# Class ExampleDragDropItem, RPGDemo

ExampleDragDropItem is a base script for your own Drag & Drop operations.
Inheritance: MonoBehaviour
Exibir arquivo Open project: WhoWhenLone/RPGDemo Class Usage Examples

Public Properties

Property Type Description
prefab GameObject

Protected Methods

Method Description
OnDragDropRelease ( GameObject, surface ) : void

Drop a 3D game object onto the surface.

Method Details

OnDragDropRelease() protected method

Drop a 3D game object onto the surface.
protected OnDragDropRelease ( GameObject, surface ) : void
surface GameObject,
return void

Property Details

prefab public_oe property

Prefab object that will be instantiated on the DragDropSurface if it receives the OnDrop event.
public GameObject prefab
return GameObject