AutoSaveAsync
Purpose
: Periodically saves an array of Transform objects asynchronously at set intervals.
Parameters
:
key: A string for the save path.
transforms: An array of Transform objects to save periodically.
intervalSeconds: The interval between saves in seconds.
cancellationToken: A token to signal cancellation.
Return Value
: An async Task.
Sample uses:
Sample uses for multiple objects:
Last updated