This repository has been archived on 2025-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
unity-cube-game/Library/PackageCache/com.unity.test-framework@1..../UnityEngine.TestRunner/Utils/PrebuildSceneSetupAttribute.cs

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; }
}
}