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 UnityEditor; | |
using UnityEngine; | |
public class AutoNameAnimations : AssetPostprocessor { | |
static readonly string[] renameMatches = new string[] { "Take 001", "mixamo.com" }; | |
void OnPostprocessModel(GameObject gameObject) { | |
ModelImporter importer = assetImporter as ModelImporter; |
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; |
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 Cinemachine; | |
using Waypoint = Cinemachine.CinemachineSmoothPath.Waypoint; | |
public class CinemachinePathShape : MonoBehaviour | |
{ | |
public CinemachineSmoothPath path; | |
[Space] |
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 UnityEngine.InputSystem; | |
using UnityEngine.InputSystem.EnhancedTouch; | |
using Touch = UnityEngine.InputSystem.EnhancedTouch.Touch; | |
[AddComponentMenu("Debug/Float Camera Controller")] | |
public class DebugCameraController : MonoBehaviour | |
{ | |
public float lookSpeedH = 5f; |