using System; using NUnit.Framework; namespace UnityEngine.TestTools { /// /// The `UnitySetUp` and attributes are identical to the standard `SetUp` and `TearDown` attributes, with the exception that they allow for . The `UnitySetUp` and `UnityTearDown` attributes expect a return type of [IEnumerator](https://docs.microsoft.com/en-us/dotnet/api/system.collections.ienumerator?view=netframework-4.8). /// /// /// /// /// /// /// /// ## Base and Derived class example /// /// /// /// /// /// ## Domain reload example /// /// /// /// [AttributeUsage(AttributeTargets.Method)] public class UnitySetUpAttribute : NUnitAttribute { } }