using System; using NUnit.Framework; namespace UnityEngine.TestTools { /// /// The `UnityOneTimeTearDown` and attributes are identical to the standard `OneTimeSetUp` and `OneTimeTearDown` attributes, with the exception that they allow for . The `UnityOneTimeSetUp` and `UnityOneTimeTearDown` 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 UnityOneTimeTearDownAttribute : NUnitAttribute { } }