Пример #1
0
 /// <summary>
 /// Starts a new drag and drop operations. Drag and drop operation ends automatically when the mouse button is
 /// released.
 /// </summary>
 /// <param name="data">Data to drag around. This will be passed to the element that accepts the drop operation.</param>
 public static void StartDrag(DragDropData data)
 {
     if (data is SceneObjectDragDropData)
     {
         Internal_StartSceneObjectDrag(data.GetCachedPtr());
     }
     else if (data is ResourceDragDropData)
     {
         Internal_StartResourceDrag(data.GetCachedPtr());
     }
 }
Пример #2
0
 private static extern void Internal_CreateInstance(DragDropData instance);