1.8.4: Added PopupFromScriptableObjectType

This commit is contained in:
Anders Ejlersen 2023-12-09 22:38:27 +01:00
parent 3259b62387
commit 81906d49dd
12 changed files with 202 additions and 1 deletions

View file

@ -0,0 +1,21 @@
using System;
using UnityEngine.Scripting;
namespace Module.Inspector
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class PopupFromScriptableObjectTypeAttribute : DrawerPropertyAttribute
{
public readonly Type type;
[Preserve]
public PopupFromScriptableObjectTypeAttribute()
{
}
public PopupFromScriptableObjectTypeAttribute(Type type)
{
this.type = type;
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b9e4e5e0d934ef14c9e74760997e4916
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: