From ede9f4103cd3387f32f17adf8155f5b24b420a16 Mon Sep 17 00:00:00 2001 From: Andy Baker Date: Thu, 5 Sep 2024 13:21:51 +0100 Subject: [PATCH] Show 10 examples --- Assets/ExampleScripts/ShowFeaturedExample.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ExampleScripts/ShowFeaturedExample.cs b/Assets/ExampleScripts/ShowFeaturedExample.cs index d286c29..8748764 100644 --- a/Assets/ExampleScripts/ShowFeaturedExample.cs +++ b/Assets/ExampleScripts/ShowFeaturedExample.cs @@ -20,7 +20,7 @@ /// /// Example that shows the top 5 featured models. -/// +/// /// This example requests the list of featured assets from Poly. Then it imports the top 5 /// into the scene, side by side. /// @@ -75,7 +75,7 @@ private void ListAssetsCallback(PolyStatusOr result) { // Now let's get the first 5 featured assets and put them on the scene. List assetsInUse = new List(); - for (int i = 0; i < Mathf.Min(5, result.Value.assets.Count); i++) { + for (int i = 0; i < Mathf.Min(10, result.Value.assets.Count); i++) { // Import this asset. PolyApi.Import(result.Value.assets[i], options, ImportAssetCallback); assetsInUse.Add(result.Value.assets[i]);