You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
588 B
20 lines
588 B
using System;
|
|
|
|
namespace UnityEngine.TestTools
|
|
{
|
|
[AttributeUsage(AttributeTargets.Assembly | 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; }
|
|
}
|
|
}
|