View OneLineFieldsAttribute.cs
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; | |
using System.Linq; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
/* | |
Usage: | |
[OneLineFields] | |
public MyClass/MyStruct myVar; |
View OnChangedCallAttribute.cs
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.Linq; | |
using UnityEngine; | |
using UnityEditor; | |
using System; | |
public class OnChangedCallAttribute : PropertyAttribute | |
{ | |
public enum RunTimeCriteriaEnum | |
{ | |
EditorOnly, |
View OnChangedCallAttribute.cs
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.Linq; | |
using UnityEngine; | |
using UnityEditor; | |
using System.Reflection; | |
/// Feel free to us this. :) | |
public class OnChangedCallAttribute : PropertyAttribute | |
{ | |
public string methodName; |
View RuleTileEditor.cs
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; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using UnityEditor.Sprites; | |
using UnityEditorInternal; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
using UnityEngine.Tilemaps; | |
using Object = UnityEngine.Object; |