Creating A Search Callback System in Unity
The files uploaded to AWS are known as objects.
To Find an object we need to iterate through the objects list (files list) until the app finds the target file.
Get the objects list from AWS S3
- create a
ListObjectsRequest
variable

- Call the method
s3Client.ListObjectsAsync
. It will require thelistRequest
variable and a callback as parameter. If the callback is null, a foreach loop will be iterated through theBucketName
provided by thelistRequest
parameter retrieving all the S3Objects (files, including folders)


Compare the result with the user number input
In the method above, create a variable to match with the list

Now in the foreach loop, add

When this code is called in a method
