Audio importer lets you modify AudioClip import settings from editor scripts.
Settings of this class match the ones exposed in Audio Import Settings.
defaultSampleSettings | The default sample settings for the AudioClip importer. |
forceToMono | Force this clip 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 | Preloads audio data of the clip when the clip asset is loaded. When this flag is off, scripts have to call AudioClip.LoadAudioData() to load the data before the clip can be played. Properties like length, channels and format are available before the audio data has been loaded. |
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) |
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. |
SaveAndReimport | Save asset importer settings if asset importer is dirty. |
SetAssetBundleNameAndVariant | Set the AssetBundle name and variant. |
GetInstanceID | Returns the instance id of the object. |
ToString | Devuelve el nombre del objeto. |
GetAtPath | Retrieves the asset importer for the asset at path. |
Destroy | Elimina un gameobject, componente o asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Makes the object target not be destroyed automatically 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 | Devuelve el nombre del objeto. |
bool | ¿Existe el objeto? |
operator != | Compares if two objects refer to a different object. |
operator == | Compares two object references to see if they refer to the same object. |