21 lines
560 B
C#
21 lines
560 B
C#
using System;
|
|
|
|
namespace UnityEngine.TestTools
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
|
|
public class PostBuildCleanupAttribute : Attribute
|
|
{
|
|
public PostBuildCleanupAttribute(Type targetClass)
|
|
{
|
|
TargetClass = targetClass;
|
|
}
|
|
|
|
public PostBuildCleanupAttribute(string targetClassName)
|
|
{
|
|
TargetClass = AttributeHelper.GetTargetClassFromName(targetClassName, typeof(IPostBuildCleanup));
|
|
}
|
|
|
|
internal Type TargetClass { get; private set; }
|
|
}
|
|
}
|