Интерфейс для доступа к ассетам и выполнения операций в ассетах.
| AddObjectToAsset | Добавляет objectToAdd к существующему ассету в path. |
| AssetPathToGUID | Get the GUID for the asset at path. |
| ClearLabels | Удаляет все метки, привязанные к ассету. |
| Contains | Является ли объект ассетом? |
| CopyAsset | Дублирует ассет в path и сохраняет его в newPath. |
| CreateAsset | Создаёт новый ресурс по указанному пути. |
| CreateFolder | Создать новую папку. |
| DeleteAsset | Удаляет ресурс по указанному пути. |
| ExportPackage | Экспортирует ассеты, определяемые по assetPathNames к файлу unitypackage в fileName. |
| FindAssets | Search the asset database using the search filter string. |
| GenerateUniqueAssetPath | Создает новый уникальный путь для ассета. |
| GetAllAssetBundleNames | Return all the AssetBundle names in the asset database. |
| GetAssetBundleDependencies | Given an assetBundleName, returns the list of AssetBundles that it depends on. |
| GetAssetDependencyHash | Возвращает массив всех объектов ассета в assetPath. |
| GetAssetOrScenePath | Возвращает имя пути относительно папки проекта, где хранится ассет. |
| GetAssetPath | Возвращает имя пути относительно папки проекта, где хранится ассет. |
| GetAssetPathFromTextMetaFilePath | Получает путь к текстовому файлу .meta, связанному с ассетом. |
| GetAssetPathsFromAssetBundle | Get the paths of the assets which have been marked with the given assetBundle name. |
| GetAssetPathsFromAssetBundleAndAssetName | Get the Asset paths for all Assets tagged with assetBundleName and named assetName. |
| GetCachedIcon | Восстанавливает иконку для ассета на данном пути ассета. |
| GetDependencies | Данный массив pathNames возвращает список всех ассетов, от которых зависят ассеты. |
| GetImplicitAssetBundleName | Returns the name of the AssetBundle that a given asset belongs to. |
| GetImplicitAssetBundleVariantName | Returns the name of the AssetBundle Variant that a given asset belongs to. |
| GetLabels | Возвращает все метки, прикрепленные к данному ассету. |
| GetMainAssetTypeAtPath | Returns the type of the main asset object at assetPath. |
| GetSubFolders | Given an absolute path to a directory, this method will return an array of all it's subdirectories. |
| GetTextMetaFilePathFromAssetPath | Получает путь к текстовому файлу .meta, связанному с ассетом. |
| GetUnusedAssetBundleNames | Return all the unused assetBundle names in the asset database. |
| GUIDToAssetPath | Переведите GUID к его текущему пути ассета. |
| ImportAsset | Импорт ассета по пути. |
| ImportPackage | Импортирует пакет по packagePath в текущий проект. |
| IsForeignAsset | Является ли объект ассетом? |
| IsMainAsset | Является ли ассет главным ассетом в окне проекта? |
| IsMainAssetAtPathLoaded | Returns true if the main asset object at assetPath is loaded in memory. |
| IsMetaFileOpenForEdit | Query whether an asset's metadata (.meta) file is open for edit in version control. |
| IsNativeAsset | Является ли объект ассетом? |
| IsOpenForEdit | Query whether an asset file is open for edit in version control. |
| IsSubAsset | Является ли форма ассета частью другого ассета? |
| IsValidFolder | Данный ассет pathName, возвращает список всех ассетов, от которых он зависит. |
| LoadAllAssetRepresentationsAtPath | Возвращает все образы ассетов в assetPath. |
| LoadAllAssetsAtPath | Возвращает массив всех объектов ассета в assetPath. |
| LoadAssetAtPath | Возвращает первый объект ассета типа type по данному пути assetPath. |
| LoadMainAssetAtPath | Возвращает объект главного ассета в assetPath. |
| MoveAsset | Перемещение файла ассета из одной папки в другую. |
| MoveAssetToTrash | Перемещает ассет по пути в корзину. |
| OpenAsset | Открывает ассет с соответствующим приложением. |
| Refresh | Импорт любых измененных ассетов. |
| RemoveAssetBundleName | Remove the assetBundle name from the asset database. The forceRemove flag is used to indicate if you want to remove it even it's in use. |
| RemoveUnusedAssetBundleNames | Remove all the unused assetBundle names in the asset database. |
| RenameAsset | Переименуйте файл ассета. |
| SaveAssets | Записывает все несохраненные изменения на диск. |
| SetLabels | Заменяет список меток на ассет. |
| SetMainObject | Specifies which object in the asset file should become the main object after the next import. |
| StartAssetEditing | Начните импорт ассета. Это позволит вам сгруппировать несколько импортов ассетов в один большой импорт. |
| StopAssetEditing | Остановите импорт ассета. Это позволит вам сгруппировать несколько импортов ассетов в один большой импорт. |
| ValidateMoveAsset | Проверяет, если файл ассета может быть перемещен из одной папки в другую. (Фактически без перемещения файла). |
| WriteImportSettingsIfDirty | Записывает настройки импорта на диск. |
| importPackageCancelled | Callback raised whenever a package import is cancelled by the user. |
| importPackageCompleted | Callback raised whenever a package import successfully completes. |
| importPackageFailed | Callback raised whenever a package import failed. |
| importPackageStarted | Callback raised whenever a package import starts. |
| ImportPackageCallback | Delegate to be called from AssetDatabase.ImportPackage callbacks. packageName is the name of the package that raised the callback. |
| ImportPackageFailedCallback | Delegate to be called from AssetDatabase.ImportPackage callbacks. packageName is the name of the package that raised the callback. errorMessage is the reason for the failure. |