@@ -57,25 +57,25 @@ public class IcosaMainInternal : MonoBehaviour
57
57
public delegate void FetchProgressCallback ( IcosaAsset asset , float progress0to1 ) ;
58
58
59
59
/// <summary>
60
- /// API key for use with the Poly server.
60
+ /// API key for use with the Icosa server.
61
61
/// </summary>
62
62
public string apiKey { get ; private set ; }
63
63
64
64
public string apiKeyUrlParam => string . IsNullOrEmpty ( apiKey ) ? "" : $ "key={ apiKey } ";
65
65
66
66
/// <summary>
67
- /// The web request manager, which handles any Poly web requests we need to make.
67
+ /// The web request manager, which handles any Icosa web requests we need to make.
68
68
/// </summary>
69
69
public WebRequestManager webRequestManager { get ; private set ; }
70
70
71
71
/// <summary>
72
- /// The client we use to communicate with the Poly .
72
+ /// The client we use to communicate with the Icosa .
73
73
/// </summary>
74
74
public IcosaClient IcosaClient { get ; private set ; }
75
75
76
76
/// <summary>
77
- /// Access token for Poly API access.
78
- /// This can be manually set by the user by calling Poly .SetAccessToken. If unset, we will get access tokens
77
+ /// Access token for Icosa API access.
78
+ /// This can be manually set by the user by calling Icosa .SetAccessToken. If unset, we will get access tokens
79
79
/// from Authenticator (default behaviour).
80
80
/// </summary>
81
81
private string manuallyProvidedAccessToken = null ;
@@ -108,12 +108,12 @@ public static bool IsInitialized
108
108
}
109
109
110
110
/// <summary>
111
- /// Initializes Poly Toolkit runtime. Must be called once, before any other use of the library.
112
- /// Call only once in your app's lifetime, not once per scene (Poly Toolkit survives scene loads).
111
+ /// Initializes Icosa API Client runtime. Must be called once, before any other use of the library.
112
+ /// Call only once in your app's lifetime, not once per scene (Icosa API Client survives scene loads).
113
113
/// </summary>
114
114
public static void Init ( IcosaAuthConfig ? authConfig , IcosaCacheConfig ? cacheConfig )
115
115
{
116
- string objName = Application . isPlaying ? "Poly Main" : "Poly Main (EDITOR)" ;
116
+ string objName = Application . isPlaying ? "Icosa Main" : "Icosa Main (EDITOR)" ;
117
117
IcosaUtils . AssertTrue ( instance == null ,
118
118
"IcosaMainInternal.Init() already called. Can only be called once." ) ;
119
119
@@ -137,7 +137,7 @@ private void Setup(IcosaAuthConfig? authConfig, IcosaCacheConfig? cacheConfig)
137
137
// // Check that the user actually set up their API key in authConfig, and didn't just leave the default
138
138
// // value in (the placeholder value starts with "**" so that's what we check for).
139
139
// if (string.IsNullOrEmpty(authConfig.Value.apiKey) || authConfig.Value.apiKey.StartsWith("**")) {
140
- // throw new System.Exception("API Key not configured. Set your API key in in Poly Toolkit " +
140
+ // throw new System.Exception("API Key not configured. Set your API key in Icosa API Client " +
141
141
// "Settings ('Runtime' section).");
142
142
// }
143
143
@@ -206,7 +206,7 @@ public void ListUserAssets(IcosaListUserAssetsRequest listUserAssetsRequest,
206
206
IcosaApi . ListAssetsCallback callback )
207
207
{
208
208
// Users expect their own private assets to update quickly once they make a change (one use case
209
- // being: I go to Blocks or Tilt Brush, modify my asset, come back to PolyToolkit , I expect it to be updated).
209
+ // being: I go to Blocks or Tilt Brush, modify my asset, come back to Icosa Client , I expect it to be updated).
210
210
// So we don't use caching for these.
211
211
IcosaClient . SendRequest ( listUserAssetsRequest ,
212
212
( IcosaStatus status , IcosaListAssetsResult icosaListResult ) =>
@@ -243,7 +243,7 @@ public void ListLikedAssets(IcosaListLikedAssetsRequest listLikedAssetsRequest,
243
243
}
244
244
245
245
/// <summary>
246
- /// Fetch a specific Poly asset.
246
+ /// Fetch a specific Icosa asset.
247
247
/// </summary>
248
248
/// <param name="id">The ID of the sought asset.</param>
249
249
/// <param name="callback">The callback.</param>
@@ -263,7 +263,7 @@ public void GetAsset(string id, IcosaApi.GetAssetCallback callback)
263
263
}
264
264
265
265
/// <summary>
266
- /// As documented in PolyApi.FetchThumbnails.
266
+ /// As previously documented in PolyApi.FetchThumbnails.
267
267
/// </summary>
268
268
public void FetchThumbnail ( IcosaAsset asset , IcosaFetchThumbnailOptions options ,
269
269
IcosaApi . FetchThumbnailCallback callback )
@@ -274,7 +274,7 @@ public void FetchThumbnail(IcosaAsset asset, IcosaFetchThumbnailOptions options,
274
274
}
275
275
276
276
/// <summary>
277
- /// As documented in PolyApi.ClearCache.
277
+ /// As previously documented in PolyApi.ClearCache.
278
278
/// </summary>
279
279
public void ClearCache ( )
280
280
{
0 commit comments