jump-game/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEngine.TestRunner/Utils/PrebuildSceneSetupAttribute.cs
2020-01-29 10:05:38 +02:00

21 lines
548 B
C#

using System;
namespace UnityEngine.TestTools
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class PrebuildSetupAttribute : Attribute
{
public PrebuildSetupAttribute(Type targetClass)
{
TargetClass = targetClass;
}
public PrebuildSetupAttribute(string targetClassName)
{
TargetClass = AttributeHelper.GetTargetClassFromName(targetClassName, typeof(IPrebuildSetup));
}
internal Type TargetClass { get; private set; }
}
}