// Unity C# reference source // Copyright (c) Unity Technologies. For terms of use, see // https://unity3d.com/legal/licenses/Unity_Reference_Only_License using System; using UnityEngine.Bindings; namespace UnityEditor.Build.Reporting { ///Contains information about a single file produced by the build process. [NativeType(Header = "Modules/BuildReportingEditor/Public/BuildReport.h")] public struct BuildFile { ///The unique indentifier of the build file. public uint id { get; } ///The absolute path of the file produced by the build process. public string path { get; } ///The role the file plays in the build output. ///Use this field to understand what purpose a file serves within the built player. Common roles for files are captured by the members of the class. public string role { get; } ///The total size of the file, in bytes. [NativeName("totalSize")] public ulong size { get; } public override string ToString() { return path; } } }