UnityEditor.AssetServer.BuildExportPackageAssetListAssetsItems C# (CSharp) Method

BuildExportPackageAssetListAssetsItems() private method

private BuildExportPackageAssetListAssetsItems ( string guids, bool dependencies ) : UnityEditor.AssetsItem[]
guids string
dependencies bool
return UnityEditor.AssetsItem[]
        public static extern AssetsItem[] BuildExportPackageAssetListAssetsItems(string[] guids, bool dependencies);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

示例#1
0
 internal static IEnumerable <AssetsItem> GetAssetItemsForExport(ICollection <string> guids, bool includeDependencies)
 {
     if (guids.Count == 0)
     {
         string[] collection = new string[0];
         guids = new HashSet <string>(AssetServer.CollectAllChildren(AssetServer.GetRootGUID(), collection));
     }
     AssetsItem[] source = AssetServer.BuildExportPackageAssetListAssetsItems(guids.ToArray <string>(), includeDependencies);
     if (includeDependencies)
     {
         if (< > f__am$cache6 == null)
         {
All Usage Examples Of UnityEditor.AssetServer::BuildExportPackageAssetListAssetsItems
AssetServer