C# Class AssetBundleGraph.Asset

Mostra file Open project: unity3d-jp/AssetGraph Class Usage Examples

Public Properties

Property Type Description
absoluteAssetPath string
assetDatabaseId string
assetType Type
exportTo string
guid Guid
importFrom string
isBundled bool
isNew bool
variantName string

Public Methods

Method Description
CreateAssetWithExportPath ( string exportTo ) : Asset
CreateAssetWithImportPath ( string importFrom ) : Asset
CreateNewAssetFromLoader ( string absoluteAssetPath, string importFrom ) : Asset
CreateNewAssetWithImportPathAndStatus ( string importFrom, bool isNew, bool isBundled ) : Asset
DuplicateAsset ( Asset asset ) : Asset
DuplicateAssetWithNewStatus ( Asset asset, bool isNew, bool isBundled ) : Asset
DuplicateAssetWithNewType ( Asset asset, Type newAssetType ) : Asset
DuplicateAssetWithVariant ( Asset asset, string variantName ) : Asset
GetAbsolutePathOrImportedPath ( ) : string

Private Methods

Method Description
Asset ( System.Guid guid, string assetDatabaseId = null, string absoluteAssetPath = null, string importFrom = null, string exportTo = null, Type assetType = null, bool isNew = false, bool isBundled = false, string variantName = null ) : System

Method Details

CreateAssetWithExportPath() public static method

public static CreateAssetWithExportPath ( string exportTo ) : Asset
exportTo string
return Asset

CreateAssetWithImportPath() public static method

public static CreateAssetWithImportPath ( string importFrom ) : Asset
importFrom string
return Asset

CreateNewAssetFromLoader() public static method

public static CreateNewAssetFromLoader ( string absoluteAssetPath, string importFrom ) : Asset
absoluteAssetPath string
importFrom string
return Asset

CreateNewAssetWithImportPathAndStatus() public static method

public static CreateNewAssetWithImportPathAndStatus ( string importFrom, bool isNew, bool isBundled ) : Asset
importFrom string
isNew bool
isBundled bool
return Asset

DuplicateAsset() public static method

public static DuplicateAsset ( Asset asset ) : Asset
asset Asset
return Asset

DuplicateAssetWithNewStatus() public static method

public static DuplicateAssetWithNewStatus ( Asset asset, bool isNew, bool isBundled ) : Asset
asset Asset
isNew bool
isBundled bool
return Asset

DuplicateAssetWithNewType() public static method

public static DuplicateAssetWithNewType ( Asset asset, Type newAssetType ) : Asset
asset Asset
newAssetType System.Type
return Asset

DuplicateAssetWithVariant() public static method

public static DuplicateAssetWithVariant ( Asset asset, string variantName ) : Asset
asset Asset
variantName string
return Asset

GetAbsolutePathOrImportedPath() public method

public GetAbsolutePathOrImportedPath ( ) : string
return string

Property Details

absoluteAssetPath public_oe property

public string absoluteAssetPath
return string

assetDatabaseId public_oe property

public string assetDatabaseId
return string

assetType public_oe property

public Type assetType
return Type

exportTo public_oe property

public string exportTo
return string

guid public_oe property

public Guid guid
return Guid

importFrom public_oe property

public string importFrom
return string

isBundled public_oe property

public bool isBundled
return bool

isNew public_oe property

public bool isNew
return bool

variantName public_oe property

public string variantName
return string