add
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
//----------------------------------------------
|
||||
// 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user