Example #1
0
 protected override void DoLoadAsset(AssetHelper assetHelper)
 {
     if (!String.IsNullOrEmpty(name) && _vertices == null)
     {
         Mesh[] meshes = assetHelper.LoadAsset <Mesh[]>(asset);
         if (meshes.HasElements())
         {
             Mesh mesh = meshes.FirstOrDefault(m => m.name == name);
             if (mesh != null)
             {
                 mesh.FlattenTriangleSets();
                 CloneTo(mesh, this);
             }
         }
     }
 }
Example #2
0
 protected override void DoLoadAsset(AssetHelper assetHelper)
 {
 }
Example #3
0
 protected abstract void DoLoadAsset(AssetHelper assetHelper);