PackedAssets

class in UnityEditor.Build.Reporting

/

Hereda de:Object

Cambiar al Manual

Descripción

An extension to the BuildReport class that tracks how Assets contribute to the size of the build.

The build process generates a PackedAssets report for each .sharedAssets or .resource file, or for each AssetBundle.

Variables

contentsAn array of PackedAssetInfo objects that holds information about the Assets that are included in the PackedAssets bundle, such as packed Asset size and type.
fileThe identifier of the BuildFile that holds the contents of the packed Asset file.
overheadThe header size of the packed Asset file.
shortPathThe file path to the Asset package, relative to the Data folder of the build.

Miembros heredados

Variables

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameEl nombre del objeto.

Funciones Públicas

GetInstanceIDDevuelve el id de la instancia del objeto.
ToStringReturns the name of the object.

Funciones Estáticas

DestroyRemoves a GameObject, component or asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindObjectOfTypeDevuelve el primer objeto activo cargado de tipo type.
FindObjectsOfTypeDevuelve una lista de todos los objetos activos cargados de tipo type.
InstantiateClona el objeto original y devuelve el clon.

Operadores

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.