Coverage.ResetAll

Declaration

public static void ResetAll();

Description

Resets all coverage data.

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

Did you find this page useful? Please give it a rating: