0.2.0: Moved into inspector drawer from module.toolbox to module.inspector
This commit is contained in:
parent
5671c2c754
commit
ffec2abdf4
227 changed files with 5306 additions and 29 deletions
22
Runtime/Decorators/HorizontalLine.cs
Normal file
22
Runtime/Decorators/HorizontalLine.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace Module.Inspector
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
|
||||
public sealed class HorizontalLine : PropertyAttribute
|
||||
{
|
||||
public readonly string title;
|
||||
|
||||
[Preserve]
|
||||
public HorizontalLine()
|
||||
{
|
||||
}
|
||||
|
||||
public HorizontalLine(string title)
|
||||
{
|
||||
this.title = title;
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Runtime/Decorators/HorizontalLine.cs.meta
Normal file
11
Runtime/Decorators/HorizontalLine.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f60560b1c40c2234199477a1321eb1c9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
21
Runtime/Decorators/MethodHeader.cs
Normal file
21
Runtime/Decorators/MethodHeader.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace Module.Inspector
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
|
||||
public sealed class MethodHeader : DecoratorMethodAttribute
|
||||
{
|
||||
public readonly string title;
|
||||
|
||||
[Preserve]
|
||||
public MethodHeader()
|
||||
{
|
||||
}
|
||||
|
||||
public MethodHeader(string title)
|
||||
{
|
||||
this.title = title;
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Runtime/Decorators/MethodHeader.cs.meta
Normal file
11
Runtime/Decorators/MethodHeader.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1387053ae5892314bb59f3a0d3769ea6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Add table
Add a link
Reference in a new issue