DragRigidbody2D】的更多相关文章

组件源码 using UnityEngine; using System.Collections; //This script allows to drag rigidbody2D elements on the scene with orthographic camera //Attach this script to your camera public class DragRigidbody2D : MonoBehaviour { public float Damper = 5f; pub…