27 lines
453 B
C#
27 lines
453 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.EventSystems;
|
|
|
|
|
|
public class DraginDropNew : MonoBehaviour
|
|
{
|
|
public GameObject correctForm;
|
|
private bool moving;
|
|
|
|
private float startPosX;
|
|
private float startPosY;
|
|
|
|
private Vector3 resetPosition;
|
|
|
|
private void Start()
|
|
{
|
|
resetPosition = this.transform.position;
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
|
|
}
|
|
}
|