initial commit

This commit is contained in:
Jo 2025-01-07 02:06:59 +01:00
parent 6715289efe
commit 788c3389af
37645 changed files with 2526849 additions and 80 deletions

View file

@ -0,0 +1,25 @@
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace SLZ
{
public class EnumFlags : PropertyAttribute
{
public EnumFlags()
{
}
}
#if UNITY_EDITOR
[CustomPropertyDrawer(typeof(EnumFlags))]
public class EnumFlagsPropertyDrawer : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
property.intValue = EditorGUI.MaskField(position, label, property.intValue, property.enumNames);
}
}
#endif
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 07b6cbc59a8012c4cb9649869e32438a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: