Add assets
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 12ab7940b33794dde915d5c9e8b91798
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)]
|
||||
public class AssetsOnlyAttribute : Attribute
|
||||
{
|
||||
public AssetsOnlyAttribute()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f37a4be6f7becc748add81ca7f5c826e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method, AllowMultiple = true)]
|
||||
public class BlockquoteAttribute : Attribute
|
||||
{
|
||||
public readonly string text;
|
||||
|
||||
public BlockquoteAttribute(string text)
|
||||
{
|
||||
this.text = text;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 47b0239bff3ab402ba57bb4e0fb79b8e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class BoxGroupAttribute : PropertyGroupAttribute
|
||||
{
|
||||
public BoxGroupAttribute(string groupName) : base(groupName) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f3a7b70a9819341948c6c1f617307359
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public class ButtonAttribute : Attribute
|
||||
{
|
||||
public readonly string label = null;
|
||||
public readonly InspectorButtonSize size = InspectorButtonSize.Small;
|
||||
|
||||
public ButtonAttribute() { }
|
||||
|
||||
public ButtonAttribute(string label)
|
||||
{
|
||||
this.label = label;
|
||||
}
|
||||
|
||||
public ButtonAttribute(InspectorButtonSize size)
|
||||
{
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
public ButtonAttribute(string label, InspectorButtonSize size)
|
||||
{
|
||||
this.label = label;
|
||||
this.size = size;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3450506bfd5c940439d2a7f9f1878f92
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class DisableIfAttribute : Attribute
|
||||
{
|
||||
public readonly string condition;
|
||||
|
||||
public DisableIfAttribute(string condition)
|
||||
{
|
||||
this.condition = condition;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d8a22becf99e144d68d0660df7d5b557
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
|
||||
public class DisableInEditModeAttribute : Attribute { }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 04a456283dded4db2ad580307f041cc8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
|
||||
public class DisableInPlayModeAttribute : Attribute { }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 475bcff7d1f7d4f87921f9b22ac3e26d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class DisableLucidEditorAttribute : Attribute { }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d750cca32720e4c5daeb51e4a43730a0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class EnableIfAttribute : Attribute
|
||||
{
|
||||
public readonly string condition;
|
||||
|
||||
public EnableIfAttribute(string condition)
|
||||
{
|
||||
this.condition = condition;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f7af4c5a709594cd3be2c25e1c6d45f8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Property)]
|
||||
public class FoldoutGroupAttribute : PropertyGroupAttribute
|
||||
{
|
||||
public FoldoutGroupAttribute(string groupName) : base(groupName) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fe1f3a8dfb58c449090899088d5112a5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method, AllowMultiple = true)]
|
||||
public class GUIColorAttribute : Attribute
|
||||
{
|
||||
public readonly InspectorColor color = InspectorColor.EditorText;
|
||||
public readonly bool useCustomColor;
|
||||
public readonly Color customColor;
|
||||
|
||||
public GUIColorAttribute() { }
|
||||
public GUIColorAttribute(InspectorColor color)
|
||||
{
|
||||
this.color = color;
|
||||
}
|
||||
public GUIColorAttribute(float r, float g, float b)
|
||||
{
|
||||
useCustomColor = true;
|
||||
customColor = new Color(r, g, b);
|
||||
}
|
||||
public GUIColorAttribute(float r, float g, float b, float a)
|
||||
{
|
||||
useCustomColor = true;
|
||||
customColor = new Color(r, g, b, a);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6f1c19d7edf314e8bbf3f7ce9acc4fc1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
using System;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class GroupAttribute : PropertyGroupAttribute
|
||||
{
|
||||
public GroupAttribute(string groupName) : base(groupName) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3331e9a3d865945aea2ec1a366214d51
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method, AllowMultiple = true)]
|
||||
public class HelpBoxAttribute : Attribute
|
||||
{
|
||||
public readonly string message;
|
||||
public readonly HelpBoxMessageType type;
|
||||
|
||||
public HelpBoxAttribute(string message)
|
||||
{
|
||||
this.message = message;
|
||||
this.type = HelpBoxMessageType.Info;
|
||||
}
|
||||
|
||||
public HelpBoxAttribute(string message, HelpBoxMessageType type)
|
||||
{
|
||||
this.message = message;
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
|
||||
public enum HelpBoxMessageType
|
||||
{
|
||||
None,
|
||||
Info,
|
||||
Warning,
|
||||
Error
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e0c030ea97c614276b4dc9e458a48dad
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method, AllowMultiple = true)]
|
||||
public class HelpBoxIfAttribute : Attribute
|
||||
{
|
||||
public readonly string condition;
|
||||
public readonly string message;
|
||||
public readonly HelpBoxMessageType type;
|
||||
|
||||
public HelpBoxIfAttribute(string condition, string message)
|
||||
{
|
||||
this.condition = condition;
|
||||
this.message = message;
|
||||
this.type = HelpBoxMessageType.Info;
|
||||
}
|
||||
|
||||
public HelpBoxIfAttribute(string condition, string message, HelpBoxMessageType type)
|
||||
{
|
||||
this.condition = condition;
|
||||
this.message = message;
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c0f4e5582478f44ec975f0308daad725
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class HideIfAttribute : Attribute
|
||||
{
|
||||
public readonly string condition;
|
||||
|
||||
public HideIfAttribute(string condition)
|
||||
{
|
||||
this.condition = condition;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 00a6385f3e58a408e85760e29c92acda
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class HideLabelAttribute : Attribute { }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9353b35b5ab054e478c9bc3432abc215
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class HideMonoScriptAttribute : Attribute { }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0747ac6687fef43fcbb38ec9e9c8d06c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class HorizontalGroupAttribute : PropertyGroupAttribute
|
||||
{
|
||||
public HorizontalGroupAttribute(string groupName) : base(groupName) { }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 987a7c71bec394997b54689b1823597a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method, AllowMultiple = true)]
|
||||
public class HorizontalLineAttribute : Attribute
|
||||
{
|
||||
public readonly InspectorColor color = InspectorColor.EditorLine;
|
||||
public readonly bool useCustomColor;
|
||||
public readonly Color customColor;
|
||||
|
||||
public HorizontalLineAttribute() { }
|
||||
public HorizontalLineAttribute(InspectorColor color)
|
||||
{
|
||||
this.color = color;
|
||||
}
|
||||
public HorizontalLineAttribute(float r, float g, float b)
|
||||
{
|
||||
useCustomColor = true;
|
||||
customColor = new Color(r, g, b);
|
||||
}
|
||||
public HorizontalLineAttribute(float r, float g, float b, float a)
|
||||
{
|
||||
useCustomColor = true;
|
||||
customColor = new Color(r, g, b, a);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 875c2c64a20374cd08ac4eebb6c290d7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class IndentAttribute : Attribute
|
||||
{
|
||||
public readonly int indent;
|
||||
|
||||
public IndentAttribute()
|
||||
{
|
||||
this.indent = 1;
|
||||
}
|
||||
|
||||
public IndentAttribute(int indent)
|
||||
{
|
||||
this.indent = indent;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: baf2c55e67a17434caa539147998b3eb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class LabelTextAttribute : Attribute
|
||||
{
|
||||
public readonly string label;
|
||||
|
||||
public LabelTextAttribute(string label)
|
||||
{
|
||||
this.label = label;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8d22bd82ea1fe413d924d171177e9dcd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
public class LabelWidthAttribute : Attribute
|
||||
{
|
||||
public readonly float width;
|
||||
|
||||
public LabelWidthAttribute(float width)
|
||||
{
|
||||
this.width = width;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7430b1710086a44739b7aadb5ec311dd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class OnValueChangedAttribute : Attribute
|
||||
{
|
||||
public readonly string methodName;
|
||||
|
||||
public OnValueChangedAttribute(string methodName)
|
||||
{
|
||||
this.methodName = methodName;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1a23e0219082d4783867105c8a74b1d7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class PropertyOrderAttribute : Attribute
|
||||
{
|
||||
public readonly int propertyOrder;
|
||||
|
||||
public PropertyOrderAttribute(int propertyOrder)
|
||||
{
|
||||
this.propertyOrder = propertyOrder;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8f0fd23beeb634893949d37e316f8f17
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
|
||||
public class ReadOnlyAttribute : Attribute { }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 006b91e11152941e0a04e6f916453b63
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
public class RequiredAttribute : Attribute
|
||||
{
|
||||
public readonly string message = null;
|
||||
public RequiredAttribute() { }
|
||||
public RequiredAttribute(string message)
|
||||
{
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: df1019c58e921426185de0ea66fb0bae
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method, AllowMultiple = true)]
|
||||
public class SectionHeaderAttribute : Attribute
|
||||
{
|
||||
public readonly string title;
|
||||
|
||||
public SectionHeaderAttribute(string title)
|
||||
{
|
||||
this.title = title;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f30c7a1e0a0b64733866abf0e57a0fde
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class ShowIfAttribute : Attribute
|
||||
{
|
||||
public readonly string condition;
|
||||
|
||||
public ShowIfAttribute(string condition)
|
||||
{
|
||||
this.condition = condition;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: feeefb731cdeb4976b8c98e1a0cbf45e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,7 @@
|
||||
using System;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Property)]
|
||||
public class ShowInInspectorAttribute : Attribute { }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ec165e79e1de34fc1bbe7483fde76337
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method)]
|
||||
public class TabGroupAttribute : PropertyGroupAttribute
|
||||
{
|
||||
public readonly string tabName;
|
||||
|
||||
public TabGroupAttribute(string groupName, string tabName) : base(groupName)
|
||||
{
|
||||
this.tabName = tabName;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bd24e90d1e8cd4890817d3b694309716
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method, AllowMultiple = true)]
|
||||
public class TitleHeaderAttribute : Attribute
|
||||
{
|
||||
public readonly string title;
|
||||
|
||||
public TitleHeaderAttribute(string title)
|
||||
{
|
||||
this.title = title;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fd34a6e485a3e4d94829cbf9b5774d6d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
public class ValidateInputAttribute : Attribute
|
||||
{
|
||||
public readonly string condition;
|
||||
public readonly string message;
|
||||
public readonly HelpBoxMessageType type = HelpBoxMessageType.Error;
|
||||
|
||||
public ValidateInputAttribute(string condition)
|
||||
{
|
||||
this.condition = condition;
|
||||
}
|
||||
|
||||
public ValidateInputAttribute(string condition, string message)
|
||||
{
|
||||
this.condition = condition;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public ValidateInputAttribute(string condition, string message, HelpBoxMessageType type)
|
||||
{
|
||||
this.condition = condition;
|
||||
this.message = message;
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 63c421ef8437043589a631c5b71eb4fb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
36
Assets/Cainos/Third Party/Lucid Editor/Runtime/Enum.cs
Normal file
36
Assets/Cainos/Third Party/Lucid Editor/Runtime/Enum.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
public enum InspectorButtonSize
|
||||
{
|
||||
Small,
|
||||
Medium,
|
||||
Large,
|
||||
ExtraLarge
|
||||
}
|
||||
|
||||
public enum InspectorColor
|
||||
{
|
||||
Clear,
|
||||
Red,
|
||||
Green,
|
||||
Blue,
|
||||
Cyan,
|
||||
Magenta,
|
||||
Yellow,
|
||||
Orange,
|
||||
Purple,
|
||||
Pink,
|
||||
Indigo,
|
||||
White,
|
||||
Gray,
|
||||
Grey,
|
||||
Black,
|
||||
EditorText,
|
||||
EditorTextSelected,
|
||||
EditorBackground,
|
||||
EditorLine,
|
||||
EditorThinLine,
|
||||
EditorWarning,
|
||||
EditorError
|
||||
}
|
||||
}
|
||||
11
Assets/Cainos/Third Party/Lucid Editor/Runtime/Enum.cs.meta
Normal file
11
Assets/Cainos/Third Party/Lucid Editor/Runtime/Enum.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 79f719a60f0084736a0f921bbba77274
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace Cainos.LucidEditor
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
|
||||
public class PropertyGroupAttribute : Attribute
|
||||
{
|
||||
public readonly string path;
|
||||
public readonly string name;
|
||||
public readonly int groupDepth;
|
||||
|
||||
public PropertyGroupAttribute(string groupPath)
|
||||
{
|
||||
this.path = groupPath;
|
||||
name = path.Split('/').Last();
|
||||
groupDepth = path.Count(x => x == '/');
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7b392fbe0b30f41f5a72d7f6d4eb3164
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user