Solving build bugs.

This commit is contained in:
Anonymous Raccoon
2018-08-14 04:19:48 +02:00
parent e1240dff40
commit fa0cf7f8ee
6 changed files with 31 additions and 11 deletions
+11
View File
@@ -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);
}
}
+11
View File
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 209fcd049e9932e46932b34ef4b854ab
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: