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
public class LevelHasher | |
{ | |
private const int PresentBlockID = 2264; | |
private static readonly Vector3Comparer _vector3Comparer = new(); | |
private static readonly IntSequenceComparer _intSequenceComparer = new(); | |
private static readonly FloatSequenceComparer _floatSequenceComparer = new(); | |
private static string Hash(ZeepLevel zeepLevel) | |
{ | |
if (zeepLevel == 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
root = true | |
[*.{cs,vb}] | |
#### Naming styles #### | |
# Naming rules | |
dotnet_naming_rule.interface_should_be_begins_with_i.severity = error | |
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface | |
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i |
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; | |
public class WebColors | |
{ | |
public static readonly Color AliceBlue = new Color32(240, 248, 255, 255); | |
public static readonly Color AntiqueWhite = new Color32(250, 235, 215, 255); | |
public static readonly Color Aqua = new Color32(0, 255, 255, 255); | |
public static readonly Color Aquamarine = new Color32(127, 255, 212, 255); | |
public static readonly Color Azure = new Color32(240, 255, 255, 255); | |
public static readonly Color Beige = new Color32(245, 245, 220, 255); |
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
public class PocoDrawer : IDisposable | |
{ | |
private class ReferenceHolder : ScriptableObject | |
{ | |
[SerializeReference] public object reference; | |
} | |
private readonly ReferenceHolder referenceHolder; | |
private readonly SerializedObject serializedObject; | |
private readonly SerializedProperty serializedProperty; |
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
## Unity ## | |
*.cs diff=csharp text | |
*.cginc text | |
*.shader text | |
*.mat merge=unityyamlmerge eol=lf | |
*.anim merge=unityyamlmerge eol=lf | |
*.unity merge=unityyamlmerge eol=lf | |
*.prefab merge=unityyamlmerge eol=lf |
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
// NOTE DONT put in an editor folder! | |
using UnityEngine; | |
public class AutohookAttribute : PropertyAttribute | |
{ | |
} |
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
#if UNITY_EDITOR | |
using System; | |
using System.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
public static class Docker | |
{ | |
#region Reflection Types |