forked from Shardstone/trail-into-darkness
21 lines
373 B
C#
21 lines
373 B
C#
using System;
|
|
|
|
namespace Jovian.InspectorTools
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
public class RequireLayerAttribute : Attribute
|
|
{
|
|
public readonly string LayerName;
|
|
public readonly int LayerIndex = -1;
|
|
|
|
public RequireLayerAttribute(string layer)
|
|
{
|
|
LayerName = layer;
|
|
}
|
|
|
|
public RequireLayerAttribute(int layer)
|
|
{
|
|
LayerIndex = layer;
|
|
}
|
|
}
|
|
} |