This file contains hidden or 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 UnityEditor; | |
| using UnityEngine.UI; | |
| using TMPro; | |
| using TMPro.EditorUtilities; | |
| public class UGuiTextToTextMeshPro : Editor | |
| { | |
| [MenuItem("GameObject/UI/Convert To Text Mesh Pro", false, 4000)] | |
| static void DoIt() |
This file contains hidden or 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; | |
| public class DistanceJoint3D : MonoBehaviour { | |
| public Transform ConnectedRigidbody; | |
| public bool DetermineDistanceOnStart = true; | |
| public float Distance; | |
| public float Spring = 0.1f; | |
| public float Damper = 5f; |