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); } } } }
protected override void DoLoadAsset(AssetHelper assetHelper) { }
protected abstract void DoLoadAsset(AssetHelper assetHelper);