This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class DragPiece2D : MonoBehaviour { | |
public float dampingRatio = 5.0f; | |
public float frequency = 2.5f; | |
public float drag = 10.0f; | |
public float angularDrag = 5.0f; | |
private SpringJoint2D springJoint; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEditor; | |
using UnityEngine; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
using System.Reflection; | |
[InitializeOnLoad] | |
public class FileExtensionGUI | |
{ |