Version: 2017.1

PrebuildSetupAttribute

class in UnityEngine.TestTools

切换到手册

描述

允许为测试定义一种设置方法,在测试运行开始前调用。

构造函数

PrebuildSetupAttributePoints to a class that imlpements IPrebuildSetup. The method from IPrebuildSetup will be executed before the test run is initiated.