feat(battle-engine): copy-loop closure to 3282 files (member-surface frontier)
This commit is contained in:
15
SVSim.BattleEngine/Engine/UIDragDropContainer.cs
Normal file
15
SVSim.BattleEngine/Engine/UIDragDropContainer.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
|
||||
[AddComponentMenu("NGUI/Interaction/Drag and Drop Container")]
|
||||
public class UIDragDropContainer : MonoBehaviour
|
||||
{
|
||||
public Transform reparentTarget;
|
||||
|
||||
protected virtual void Start()
|
||||
{
|
||||
if (reparentTarget == null)
|
||||
{
|
||||
reparentTarget = base.transform;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user