Audio importer lets you modify AudioClip import settings from editor scripts.
Settings of this class match the ones exposed in Audio Import Settings.
| ambisonic | When this flag is set, the audio clip will be treated as being ambisonic. |
| defaultSampleSettings | The default sample settings for the AudioClip importer. |
| forceToMono | Force audioclips to mono? |
| loadInBackground | Corresponding to the "Load In Background" flag in the AudioClip inspector, when this flag is set, the loading of the clip will happen delayed without blocking the main thread. |
| preloadAudioData | Precarga los datos de audio del clip cuando el asset del clip se carga. Cuando esta bandera está apagada (off), los scripts tienen que llamara a AudioClip.LoadAudioData() para cargar los datos antes de que el clip se reproduzca. Las propiedades como el largo (lenght), los canales (channels) y el formato (format) estarán disponibles antes de que los datos se carguen. |
| ClearSampleSettingOverride | Clears the sample settings override for the given platform. |
| ContainsSampleSettingsOverride | Returns whether a given build target has its sample settings currently overridden. |
| GetOverrideSampleSettings | Return the current override settings for the given platform. |
| SetOverrideSampleSettings | Sets the override sample settings for the given platform. |
| assetBundleName | Get or set the AssetBundle name. |
| assetBundleVariant | Get or set the AssetBundle variant. |
| assetPath | The path name of the asset for this importer. (Read Only) |
| importSettingsMissing | The value is true when no meta file is provided with the imported asset. |
| userData | Get or set any user data. |
| hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
| name | El nombre del objeto. |
| AddRemap | Map a sub-asset from an imported asset (such as an FBX file) to an external Asset of the same type. |
| GetExternalObjectMap | Gets a copy of the external object map used by the AssetImporter. |
| RemoveRemap | Removes an item from the map of external objects. |
| SaveAndReimport | Save asset importer settings if asset importer is dirty. |
| SetAssetBundleNameAndVariant | Set the AssetBundle name and variant. |
| GetInstanceID | Devuelve el id de la instancia del objeto. |
| ToString | Returns the name of the object. |
| GetAtPath | Retrieves the asset importer for the asset at path. |
| Destroy | Removes a GameObject, component or asset. |
| DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
| DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
| FindObjectOfType | Devuelve el primer objeto activo cargado de tipo type. |
| FindObjectsOfType | Devuelve una lista de todos los objetos activos cargados de tipo type. |
| Instantiate | Clona el objeto original y devuelve el clon. |
| bool | ¿Existe el objeto? |
| operator != | Compare si dos objetos se refieren a un objeto diferente. |
| operator == | Compara dos referencias de objeto para ver si se refieren al mismo objeto. |