docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RegisterIOCallbacks

    RegisterIOCallbacks(string, importFileCallback, exportFileCallback, FileFormatList)

    Register import and export callbacks

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public void RegisterIOCallbacks(string name, IOInterface.importFileCallback importCallback, IOInterface.exportFileCallback exportCallback, FileFormatList fileFormats)
    Parameters
    Type Name Description
    string name

    Callback name

    IOInterface.importFileCallback importCallback

    Callback that import a file

    IOInterface.exportFileCallback exportCallback

    Callback that exports to a file

    FileFormatList fileFormats

    Gives the extension and parameters to Import/Export

    In This Article
    Back to top
    Copyright © 2025 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)