Cloud Storage: Aliyun OSS (optional)
Was this helpful?
Was this helpful?
Create an Alibaba Cloud Account and Activate the OSS Service.
Navigate to the OSS console and create a new storage bucket. Ensure the permissions for this bucket are set to 'Public Read/Write'.
Generate an AccessKey for OSS Access. Take note of the AccessKey ID and AccessKey Secret as these will be used to connect your SDK to the OSS service.
Download and Import the Alibaba Cloud OSS .NET SDK. You can find the download link and import instructions for the SDK in Alibaba Cloud's official documentation.
For more detailed information, you might find the on GitHub clearer and more concise. This tutorial adopts the following installation method.
Ensure that the generated Aliyun.OSS.dll
file is placed in Assets > Plugins
.
Utilize the SDK's API in Your Unity Script. To upload and download files using the SDK, you'll need to provide your AccessKey ID, AccessKey Secret, Bucket name, and filename.