Version: 2020.1
言語: 日本語
public static bool enabled ;

説明

This is a read only property that returns whether coverage is enabled.

using UnityEngine;
using UnityEngine.TestTools;

public class CoverageExample : MonoBehaviour { void Start() { if (Coverage.enabled) Debug.Log("Coverage is enabled."); else Debug.Log("Coverage is not enabled."); } }