导入odin
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Obvious.Soap
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface to get objects that can be drawn in the inspector
|
||||
/// </summary>
|
||||
public interface IDrawObjectsInInspector
|
||||
{
|
||||
IReadOnlyList<Object> EditorListeners { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e498e4adf2f54a88b454f5402fb01d7f
|
||||
timeCreated: 1656086814
|
||||
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
#if ODIN_INSPECTOR
|
||||
using Sirenix.OdinInspector;
|
||||
#endif
|
||||
|
||||
namespace Obvious.Soap
|
||||
{
|
||||
/// <summary>
|
||||
/// Base classes of all ScriptableObjects in Soap
|
||||
/// </summary>
|
||||
#if ODIN_INSPECTOR
|
||||
public abstract class ScriptableBase : SerializedScriptableObject
|
||||
#else
|
||||
public abstract class ScriptableBase : ScriptableObject
|
||||
#endif
|
||||
{
|
||||
internal virtual void Reset()
|
||||
{
|
||||
TagIndex = 0;
|
||||
Description = "";
|
||||
}
|
||||
[HideInInspector]
|
||||
public Action RepaintRequest;
|
||||
[HideInInspector]
|
||||
public int TagIndex = 0;
|
||||
[HideInInspector]
|
||||
public string Description = "";
|
||||
public virtual Type GetGenericType { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8d4bb74215c74b0418d738ce69073159
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user