Version: 2021.1
言語: 日本語

PackedAssets

class in UnityEditor.Build.Reporting

/

継承:Object

マニュアルに切り替える

説明

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.

変数

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.

継承メンバー

変数

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameオブジェクト名

Public 関数

GetInstanceIDGets the instance ID of the object.
ToStringReturns the name of the object.

Static 関数

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.
FindObjectOfTypeタイプ type から最初に見つけたアクティブのオブジェクトを返します
FindObjectsOfTypeGets a list of all loaded objects of Type type.
Instantiateoriginal のオブジェクトをクローンします

Operator

boolオブジェクトが存在するかどうか
operator !=二つのオブジェクトが異なるオブジェクトを参照しているか比較します
operator ==2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。