Constructor WaitForDomainReload
WaitForDomainReload()
Create a new instance of the WaitForDomainReload
yield instruction.
[UnitySetUp]
public IEnumerator SetUp()
{
File.Copy("Resources/MyDll.dll", @"Assets/MyDll.dll", true); // Trigger a domain reload.
AssetDatabase.Refresh();
yield return new WaitForDomainReload();
}
Declaration
public WaitForDomainReload()