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; | |
| /// <summary> | |
| /// Hierarchy Window Group Header | |
| /// http://diegogiacomelli.com.br/unitytips-hierarchy-window-group-header | |
| /// </summary> | |
| [InitializeOnLoad] | |
| public static class HierarchyWindowGroupHeader | |
| { |
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 System; | |
| using System.IO; | |
| using System.Runtime.CompilerServices; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using UnityEngine.Events; | |
| /// <summary> | |
| /// Hierarchy Window Group Header | |
| /// http://diegogiacomelli.com.br/unitytips-changing-the-style-of-the-hierarchy-window-group-header/ |
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; | |
| // <summary> | |
| /// Hierarchy Window Layer Info | |
| /// http://diegogiacomelli.com.br/unitytips-hierarchy-window-layer-info/ | |
| /// </summary> | |
| [InitializeOnLoad] | |
| public static class HierarchyWindowLayerInfo | |
| { |
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 System.Collections.Generic; | |
| using UnityEngine; | |
| namespace TheHunt.Util { | |
| /// <summary> | |
| /// Extend this abstract base class to receive enter/exit events | |
| /// from dynamic triggers. | |
| /// </summary> | |
| public abstract class DynamicTriggerListener : MonoBehaviour { |
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; | |
| /// <summary> | |
| /// Hierarchy window game object icon. | |
| /// http://diegogiacomelli.com.br/unitytips-hierarchy-window-gameobject-icon/ | |
| /// </summary> | |
| [InitializeOnLoad] | |
| public static class HierarchyWindowGameObjectIcon | |
| { |
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; | |
| /// <summary> | |
| /// Scene preview data. | |
| /// http://diegogiacomelli.com.br/unitytips-scene-preview-window | |
| /// </summary> | |
| public class ScenePreviewData | |
| { | |
| Texture2D _texture; |
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
| # Unity specific .gitattributes | |
| * text=auto | |
| *.cs diff=csharp text | |
| *.cginc text | |
| *.shader text | |
| # Unity YAML | |
| *.anim -text merge=unityyamlmerge diff |
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; | |
| //NOTE: Editor-related scripts should be placed in an Editor folder | |
| namespace Toolbox | |
| { | |
| [CustomPropertyDrawer(typeof(BrushPrefab))] | |
| public class BrushPrefabDrawer : PropertyDrawer | |
| { |
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
| # Git LFS tracking file types | |
| # IronSource | |
| *.a filter=lfs diff=lfs merge=lfs -text | |
| IS*Adapter filter=lfs diff=lfs merge=lfs -text | |
| GoogleMobileAds filter=lfs diff=lfs merge=lfs -text | |
| # Image | |
| *.jpg filter=lfs diff=lfs merge=lfs -text | |
| *.jpeg filter=lfs diff=lfs merge=lfs -text |
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 System; | |
| using System.IO; | |
| using JetBrains.Annotations; | |
| using NUnit.Framework; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using Object = UnityEngine.Object; | |
| /// <summary> | |
| /// Unit tests that show how AssetDatabase operates. |