This commit is contained in:
CortexCore
2025-03-24 14:42:40 +08:00
parent 18239a5ae4
commit 9845d20f7f
99 changed files with 5418 additions and 5512 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Net.BITKit.BitMask
{
public abstract class ScriptableImplements : ScriptableObject
{
public abstract Type[] Types { get; }
public abstract Type Type { get; }
}
public class ScriptableImplements<T> : ScriptableImplements
{
[SerializeReference,SubclassSelector] private T[] implements;
public override Type[] Types => Array.ConvertAll(implements, x => x.GetType());
public override Type Type => typeof(T);
}
}