Search Unity

Custom Operations

Discussion in 'Addressables' started by VagabondOfHell, Dec 12, 2019.

  1. VagabondOfHell

    VagabondOfHell

    Joined:
    Sep 17, 2013
    Posts:
    15
    Hi all

    I've been playing in the Addressables package and came across the ability to create custom operations. I was just curious if there are any suggestions regarding using a custom operation to support things like writing to a file.

    My confusion around this is how the Execute() function is used. Should I be starting a separate thread in the execute, creating an awaitable Task and firing a complete from there, etc, or should custom operations not be used in this style?

    If they shouldn't be used like this, when/what should they be used for?

    Thank you