Asset

Type Alias Asset 

Source
pub type Asset = SerializedFile;

Aliased Type§

pub struct Asset {
    pub header: SerializedFileHeader,
    pub unity_version: String,
    pub target_platform: i32,
    pub enable_type_tree: bool,
    pub type_tree_registry: Option<Arc<dyn TypeTreeRegistry>>,
    pub types: Vec<SerializedType>,
    pub big_id_enabled: bool,
    pub objects: Vec<ObjectInfo>,
    pub script_types: Vec<LocalSerializedObjectIdentifier>,
    pub externals: Vec<FileIdentifier>,
    pub ref_types: Vec<SerializedType>,
    pub user_information: String,
    /* private fields */
}

Fields§

§header: SerializedFileHeader

File header

§unity_version: String

Unity version string

§target_platform: i32

Target platform

§enable_type_tree: bool

Whether type tree is enabled

§type_tree_registry: Option<Arc<dyn TypeTreeRegistry>>

Optional external TypeTree registry for stripped files (best-effort).

§types: Vec<SerializedType>

Type information

§big_id_enabled: bool

Whether big IDs are enabled

§objects: Vec<ObjectInfo>

Object information

§script_types: Vec<LocalSerializedObjectIdentifier>

Script types

§externals: Vec<FileIdentifier>

External file references

§ref_types: Vec<SerializedType>

Reference types

§user_information: String

User information