Version: 2022.1
public static void ResetAll ();

描述

重置所有覆盖率数据。

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(); } }