My Unity repo's git config as of today.
For more complex and complete alternatives, look at:
| using UnityEditor; | |
| using UnityEngine; | |
| /// <summary> | |
| /// Folder organizer editor window. | |
| /// http://diegogiacomelli.com.br/using-an-assetpostprocessor-editorwindow-to-keep-assets-organized-on-unity-projects | |
| /// </summary> | |
| public class FolderOrganizerEditorWindow : EditorWindow | |
| { | |
| FolderOrganizerSettings _settings; |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using UnityEditor; | |
| using UnityEngine; | |
| /// <summary> | |
| /// Sorting Layer Debugger. | |
| /// https://diegogiacomelli.com.br/a-sorting-layer-debugger-for-unity/ | |
| /// </summary> | |
| public class SortingLayerDebugger : EditorWindow |
| Shader "AR Proxy" | |
| { | |
| Properties | |
| { | |
| } | |
| SubShader | |
| { | |
| Tags | |
| { |
| // NOTE DONT put in an editor folder! | |
| using UnityEngine; | |
| public class AutohookAttribute : PropertyAttribute | |
| { | |
| } |
| // Shader targeted for low end devices. Single Pass Forward Rendering. | |
| Shader "Custom/Shadows Only" | |
| { | |
| // Keep properties of StandardSpecular shader for upgrade reasons. | |
| Properties | |
| { | |
| _Alpha("Shadow Alpha", float) = 0.5 | |
| // Blending state |
My Unity repo's git config as of today.
For more complex and complete alternatives, look at:
| using UnityEditor; | |
| using UnityEditor.Experimental.AssetImporters; | |
| using UnityEngine; | |
| using System.Reflection; | |
| using System; | |
| using System.Collections; | |
| using System.Linq; | |
| using Object = UnityEngine.Object; | |
| using System.Collections.Generic; |
| 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; |
| using System.Collections.Generic; | |
| using System.IO; | |
| using UnityEditor; | |
| using UnityEditorInternal; | |
| using UnityEngine; | |
| // This is only useful for spritesheets that need to be automatically sliced (Sprite Editor > Slice > Automatic) | |
| public class AutoSpriteSlicer | |
| { | |
| [MenuItem("Tools/Slice Spritesheets %&s")] |
| using System; | |
| using UnityEngine; | |
| [ Serializable ] | |
| public class Easing | |
| { | |
| public enum EasingType | |
| { | |
| Curve, | |
| Function |