Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

ContentSummary.assetStats

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public AssetStats[] assetStats;

Description

Returns an array with statistics for each source Asset that contributed content to the build output.

For large builds this array can be large, proportional to the number of source Assets included in the build. A new array is allocated each time this property is accessed; cache the result in a local variable rather than accessing it repeatedly.