包含此页的版本:
不含此页的版本:
重置所有覆盖率数据。
using UnityEngine; using UnityEngine.TestTools;public class CoverageExample : MonoBehaviour { void Start() { // Reset all coverage data that has been captured up to this point. Coverage.ResetAll(); } }