C# Класс ExampleDragDropItem, RPGDemo

ExampleDragDropItem is a base script for your own Drag & Drop operations.
Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
prefab GameObject

Защищенные методы

Метод Описание
OnDragDropRelease ( GameObject, surface ) : void

Drop a 3D game object onto the surface.

Описание методов

OnDragDropRelease() защищенный Метод

Drop a 3D game object onto the surface.
protected OnDragDropRelease ( GameObject, surface ) : void
surface GameObject,
Результат void

Описание свойств

prefab публичное свойство

Prefab object that will be instantiated on the DragDropSurface if it receives the OnDrop event.
public GameObject prefab
Результат GameObject