blob: da8856b3c90eb0476c58c2b25dbcd49310e9d332 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
using System;
using UnityEngine;
namespace UILib
{
public interface IXUIDragDropItem : IXUIObject
{
void RegisterOnStartEventHandler(OnDropStartEventHandler eventHandler);
void RegisterOnFinishEventHandler(OnDropReleaseEventHandler eventHandler);
void SetCloneOnDrag(bool cloneOnDrag);
void SetRestriction(int restriction);
void SetParent(Transform parent, bool addPanel = false, int depth = 0);
void SetActive(bool active);
OnDropStartEventHandler GetStartEventHandler();
OnDropReleaseEventHandler GetReleaseEventHandler();
}
}
|