Created
March 31, 2024 23:39
-
-
Save baba-s/ab311b20ba49fc8d786c60585f28c1bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEditor; | |
using UnityEditor.Build.Reporting; | |
public class Example | |
{ | |
[MenuItem( "Tools/Hoge" )] | |
private static void Hoge() | |
{ | |
var latestReport = BuildReport.GetLatestReport(); | |
var files = latestReport.GetFiles(); | |
var steps = latestReport.steps; | |
var summary = latestReport.summary; | |
var strippingInfo = latestReport.strippingInfo; | |
var packedAssets = latestReport.packedAssets; | |
var scenesUsingAssets = latestReport.scenesUsingAssets; | |
var errorSummary = latestReport.SummarizeErrors(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment