Skip to content

Commit 079235b

Browse files
committed
Add comments for future reference
1 parent 9a5d976 commit 079235b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Runtime/CesiumCreditSystem.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,19 @@ public static CesiumCreditSystem GetDefaultCreditSystem()
267267
return _defaultCreditSystem;
268268
}
269269

270+
/// <summary>
271+
/// Gets the number of images on this credit system that are being loaded.
272+
/// </summary>
273+
/// <returns>The number of loading images.</returns>
270274
internal int GetNumberOfLoadingImages()
271275
{
272276
return this._numLoadingImages;
273277
}
274278

279+
/// <summary>
280+
/// A function invoked with StartCoroutine() to asynchronously load images from an HTML credit.
281+
/// </summary>
282+
/// <param name="url">A string containing either the base64-encoded image data or the URL of the image.</param>
275283
internal IEnumerator LoadImage(string url)
276284
{
277285
int index = this._images.Count;

0 commit comments

Comments
 (0)