mirror of
https://github.com/zoriya/Magical-Garden.git
synced 2026-06-03 09:15:35 +00:00
Solving build bugs.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
[CustomPropertyDrawer(typeof(EnumFlagsAttribute))]
|
||||
public class EnumFlagsAttributeDrawer : PropertyDrawer
|
||||
{
|
||||
public override void OnGUI(Rect _position, SerializedProperty _property, GUIContent _label)
|
||||
{
|
||||
_property.intValue = EditorGUI.MaskField(_position, _label, _property.intValue, _property.enumNames);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 209fcd049e9932e46932b34ef4b854ab
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user