Tanoda
GILES.pb_MetaDataComponent Class Reference
Inheritance diagram for GILES.pb_MetaDataComponent:

Public Member Functions

void SetAssetBundleData (string bundleName, string assetPath)
 
bool UpdateFileId ()
 
string GetFileId ()
 

Public Attributes

pb_MetaData metadata = new pb_MetaData()
 

Detailed Description

Metadata components are used to serialize and deserialize prefabs pointing to AssetBundle or Resource folder objects. Can also mark an object as an instance asset, meaning the serializer will write all the components and information necessary to rebuild the object on deserialization. If asset is type AssetBundle or Resource it will be loaded from it's respective location.

Definition at line 21 of file pb_MetaDataComponent.cs.

Member Function Documentation

◆ GetFileId()

string GILES.pb_MetaDataComponent.GetFileId ( )

Definition at line 65 of file pb_MetaDataComponent.cs.

◆ SetAssetBundleData()

void GILES.pb_MetaDataComponent.SetAssetBundleData ( string  bundleName,
string  assetPath 
)

Set the name and asset path that this object can be found with.

Definition at line 30 of file pb_MetaDataComponent.cs.

◆ UpdateFileId()

bool GILES.pb_MetaDataComponent.UpdateFileId ( )

Set the fileId field if this asset is in the resources folder.

Definition at line 41 of file pb_MetaDataComponent.cs.

Member Data Documentation

◆ metadata

pb_MetaData GILES.pb_MetaDataComponent.metadata = new pb_MetaData()

Reference metadata information about a prefab or gameObject. Used to serialize and deserialize prefabs/instance objects.

Definition at line 25 of file pb_MetaDataComponent.cs.


The documentation for this class was generated from the following file: