docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Perform

    Perform()

    Perform the multi step instruction of triggering a recompilation of scripts and waiting for its completion.

    Declaration
    public IEnumerator Perform()
    Returns
    Type Description
    IEnumerator

    An IEnumerator with the async steps.

    Implements
    IEditModeTestYieldInstruction.Perform()
    Exceptions
    Type Condition
    Exception

    Throws an exception if the editor does not need to recompile scripts or if the script compilation failed when expected to succeed.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)