Project_WL/Assets/ThirdParty/NGUI/Scripts/Interaction/UIDragDropContainer.cs

15 lines
461 B
C#

//-------------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2019 Tasharen Entertainment Inc
//-------------------------------------------------
using UnityEngine;
[AddComponentMenu("NGUI/Interaction/Drag and Drop Container")]
public class UIDragDropContainer : MonoBehaviour
{
public Transform reparentTarget;
protected virtual void Start () { if (reparentTarget == null) reparentTarget = transform; }
}