C# Class ExampleDragDropItem, RPGDemo

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

Méthodes publiques

Свойство Type Description
prefab GameObject

Méthodes protégées

Méthode Description
OnDragDropRelease ( GameObject, surface ) : void

Drop a 3D game object onto the surface.

Method Details

OnDragDropRelease() protected méthode

Drop a 3D game object onto the surface.
protected OnDragDropRelease ( GameObject, surface ) : void
surface GameObject,
Résultat 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
Résultat GameObject