{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Constructor RecompileScripts | Test Framework | 2.0.1-exp.2
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Constructor RecompileScripts

    RecompileScripts()

    Creates a new instance of the RecompileScripts yield instruction.

    [UnitySetUp]
    public IEnumerator SetUp()
    {
        using (var file = File.CreateText("Assets/temp/myScript.cs"))
        {
            file.Write("public class ATempClass {  }");
        }
        AssetDatabase.Refresh();
        yield return new RecompileScripts();
    }
    선언
    public RecompileScripts()

    RecompileScripts(bool)

    Creates a new instance of the RecompileScripts yield instruction.

    선언
    public RecompileScripts(bool expectScriptCompilation)
    파라미터
    타입 이름 설명
    bool expectScriptCompilation

    This parameter indicates if you expect a script compilation to start (defaults to true). If a script compilation does not start and expectScriptCompilation is true, then it throws an exception.

    RecompileScripts(bool, bool)

    Creates a new instance of the RecompileScripts yield instruction.

    선언
    public RecompileScripts(bool expectScriptCompilation, bool expectScriptCompilationSuccess)
    파라미터
    타입 이름 설명
    bool expectScriptCompilation

    This parameter indicates if you expect a script compilation to start (defaults to true). If a script compilation does not start and expectScriptCompilation is true, then it throws an exception.

    bool expectScriptCompilationSuccess

    This parameter indicates if you expect a script compilation to succeed. If not succeeded then an exception will be thrown.

    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)