15 lines
451 B
C#
15 lines
451 B
C#
//----------------------------------------------
|
|
// NGUI: Next-Gen UI kit
|
|
// Copyright © 2011-2015 Tasharen Entertainment
|
|
//----------------------------------------------
|
|
|
|
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; }
|
|
}
|