Esempio n. 1
0
 public void ExportAsset(AssetContext asset)
 {
     using (var writer = asset.CreateXml())
     {
         if (writer == null)
         {
             return;
         }
         var go = AssetDatabase.LoadAssetAtPath <GameObject>(asset.AssetPath);
         WriteObject(writer, "", go, new HashSet <Renderer>(), asset);
     }
 }
Esempio n. 2
0
        public void ExportAsset(AssetContext asset)
        {
            var go = AssetDatabase.LoadAssetAtPath <SceneAsset>(asset.AssetPath);

            var exclusionSet = new HashSet <Renderer>();

            using (var writer = asset.CreateXml())
            {
                if (writer == null)
                {
                    return;
                }
                using (var scene = Element.Start(writer, "scene"))
                {
                }
            }
        }