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

Public Member Functions

void GetObjectData (SerializationInfo info, StreamingContext context)
 
 pb_MetaData (SerializationInfo info, StreamingContext context)
 
 pb_MetaData ()
 
void SetAssetBundleData (string bundleName, string assetPath)
 
void SetFileId (string id)
 

Public Attributes

string[] tags = new string[0]
 
pb_ComponentDiff componentDiff
 

Static Public Attributes

const string GUID_NOT_FOUND = "MetaData_NoGUIDPresent"
 
const string ASSET_BUNDLE = "MetaData_BundleAsset"
 
const string ASSET_INSTANCE = "MetaData_InstanceAsset"
 

Properties

string fileId [get]
 
pb_AssetBundlePath assetBundlePath [get]
 
AssetType assetType [get]
 

Detailed Description

pb_Metadata stores information about how an asset should be stored and reconstructed.

Definition at line 11 of file pb_MetaData.cs.

Constructor & Destructor Documentation

◆ pb_MetaData() [1/2]

GILES.pb_MetaData.pb_MetaData ( SerializationInfo  info,
StreamingContext  context 
)

Serialized constructor.

Definition at line 42 of file pb_MetaData.cs.

◆ pb_MetaData() [2/2]

GILES.pb_MetaData.pb_MetaData ( )

Basic constructor (used on instance assets).

Definition at line 53 of file pb_MetaData.cs.

Member Function Documentation

◆ GetObjectData()

void GILES.pb_MetaData.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)

Serialization override.

Definition at line 31 of file pb_MetaData.cs.

◆ SetAssetBundleData()

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

Set the asset bundle information.

Definition at line 90 of file pb_MetaData.cs.

◆ SetFileId()

void GILES.pb_MetaData.SetFileId ( string  id)

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

Definition at line 100 of file pb_MetaData.cs.

Member Data Documentation

◆ ASSET_BUNDLE

const string GILES.pb_MetaData.ASSET_BUNDLE = "MetaData_BundleAsset"
static

Definition at line 15 of file pb_MetaData.cs.

◆ ASSET_INSTANCE

const string GILES.pb_MetaData.ASSET_INSTANCE = "MetaData_InstanceAsset"
static

Definition at line 16 of file pb_MetaData.cs.

◆ componentDiff

pb_ComponentDiff GILES.pb_MetaData.componentDiff

Definition at line 26 of file pb_MetaData.cs.

◆ GUID_NOT_FOUND

const string GILES.pb_MetaData.GUID_NOT_FOUND = "MetaData_NoGUIDPresent"
static

Definition at line 14 of file pb_MetaData.cs.

◆ tags

string [] GILES.pb_MetaData.tags = new string[0]

Definition at line 23 of file pb_MetaData.cs.

Property Documentation

◆ assetBundlePath

pb_AssetBundlePath GILES.pb_MetaData.assetBundlePath
get

Return the asset bundle information (if assetType == AssetType.Bundle) - if not a bundle type this value will be junk.

Definition at line 74 of file pb_MetaData.cs.

◆ assetType

AssetType GILES.pb_MetaData.assetType
get

Return the type of asset pointed to.

Definition at line 82 of file pb_MetaData.cs.

◆ fileId

string GILES.pb_MetaData.fileId
get

The file id that can be used to look up this object (if this is a prefab stored in Resources folder).

Definition at line 65 of file pb_MetaData.cs.


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