示例#1
0
        private void OnAssetCompiled(object sender, AssetCompiledArgs assetCompiledArgs)
        {
            var assetsCompiled = AssetCompiled;

            if (assetsCompiled != null)
            {
                assetsCompiled(this, assetCompiledArgs);
            }
        }
示例#2
0
        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;
            }
        }
示例#3
0
 private void OnAssetCompiled(object sender, AssetCompiledArgs assetCompiledArgs)
 {
     var assetsCompiled = AssetCompiled;
     if (assetsCompiled != null)
     {
         assetsCompiled(this, assetCompiledArgs);
     }
 }
 private void OnAssetCompiled(object sender, AssetCompiledArgs assetCompiledArgs)
 {
     AssetCompiled?.Invoke(this, assetCompiledArgs);
 }
示例#5
0
 private void OnAssetCompiled(object sender, AssetCompiledArgs assetCompiledArgs)
 {
     AssetCompiled?.Invoke(this, assetCompiledArgs);
 }