17 lines
361 B
C#
17 lines
361 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Encompass
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
public class Detects : Attribute
|
|
{
|
|
public readonly List<Type> componentTypes;
|
|
|
|
public Detects(params Type[] componentTypes)
|
|
{
|
|
this.componentTypes = new List<Type>(componentTypes);
|
|
}
|
|
}
|
|
}
|