private void OnAssetCompiled(object sender, AssetCompiledArgs assetCompiledArgs) { var assetsCompiled = AssetCompiled; if (assetsCompiled != null) { assetsCompiled(this, assetCompiledArgs); } }
private void RegisterBuildStepProcessedHandler(object sender, AssetCompiledArgs e) { if (e.Result.BuildSteps == null) return; foreach (var buildStep in e.Result.BuildSteps.EnumerateRecursively()) { buildStep.Tag = e.Asset; buildStep.StepProcessed += BuildStepProcessed; } }
private void OnAssetCompiled(object sender, AssetCompiledArgs assetCompiledArgs) { AssetCompiled?.Invoke(this, assetCompiledArgs); }