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.Reflection; | |
namespace Framework.Core.EditorExtension | |
{ | |
public class OpenAdditionalLockedInpsector : MonoBehaviour | |
{ | |
private static EditorWindow lockedInspectorWindow = null; |
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; | |
namespace Framework.Core.EditorExtension | |
{ | |
public class OpenAdditionalAnimatorWindow : MonoBehaviour | |
{ | |
static EditorWindow window = null; |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>#ifEditor</Title> | |
<Shortcut>#ifEditor</Shortcut> | |
<Description>Code snippet for #if UNITY_EDITOR</Description> | |
<Author>Ghat Smith</Author> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> |
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 System.Collections.Generic; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
public interface IUpdateListener | |
{ |
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 System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Assertions; | |
using System.Threading; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
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 System.Collections.Generic; | |
using UnityEngine; | |
/// <summary> "Generic class. Include logic if you want to define collection of elements with exceptions" </summary> | |
[System.Serializable] | |
public class GenericFilter<T> | |
{ | |
private enum Type { NothingExcept, AllExcept } |
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 System.Collections.Generic; | |
using System.Reflection; | |
using System.Linq; | |
using UnityEngine; | |
using UnityEditor.Animations; | |
public static class AnimatorControllerExtension | |
{ | |
private static MethodInfo getEffectiveAnimatorControllerMethodInfo = null; |
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 System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
[InitializeOnLoad] | |
public static class OrderedSelection | |
{ | |
// For Objects ordered selection | |
private static HashSet<Object> objectsSelectionSet = new HashSet<Object>(); |
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 UnityEditor; | |
using System.Linq; | |
using UnityEngine.SceneManagement; | |
using System.Globalization; | |
namespace OddTales.Framework.Core.EditorExtension | |
{ | |
// InitializeOnLoad : force constructor call |
NewerOlder