//GameObjectに using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class Score : […]
//Playerに using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class MovingObj : […]
using UnityEngine; public class Enemy : MonoBehaviour { Transform playerTr; [SerializeField] float speed = 2; […]
//Canvas内の動かしたいobjectにattach //EventTriggerの設定 //OnBeginDrag //OnDrag //OnEndDrag //JumpPos using UnityEngine; […]