docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RegisterAdditionalFilesToDeploy

    RegisterAdditionalFilesToDeploy(Action<string, string>)

    Override this method to register additional files you want to copy into the build. You will not do the copy yourself, instead call the provided registerAdditionalFileToDeploy callback, with a sourcefile and a targetfile. You can use the WorkingDirectory property to find a good place to generate your source file. You can use the StreamingAssetsDirectory property to find a good place to copy your file into.

    Declaration
    public virtual void RegisterAdditionalFilesToDeploy(Action<string, string> registerAdditionalFileToDeploy)
    Parameters
    Type Name Description
    Action<string, string> registerAdditionalFileToDeploy
    In This Article
    Back to top
    Copyright © 2024 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)