Class
AssetDatabaseReference
Inheritance
System.Object
AssetDatabaseReference
Syntax
public class AssetDatabaseReference
Constructors
|
Improve this Doc
View Source
AssetDatabaseReference(String, Type)
Declaration
public AssetDatabaseReference(string guid, Type type = null)
Parameters
Type |
Name |
Description |
System.String |
guid |
|
System.Type |
type |
|
Fields
|
Improve this Doc
View Source
Guid
Declaration
public readonly string Guid
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Type
Declaration
public readonly Type Type
Field Value
Type |
Description |
System.Type |
|
Methods
|
Improve this Doc
View Source
GetAssetPath(Boolean)
Declaration
public string GetAssetPath(bool forceUpdate = false)
Parameters
Type |
Name |
Description |
System.Boolean |
forceUpdate |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetDiskPath(Boolean)
Declaration
public string GetDiskPath(bool forceUpdate = false)
Parameters
Type |
Name |
Description |
System.Boolean |
forceUpdate |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetFileExtension(Boolean)
Declaration
public string GetFileExtension(bool forceUpdate = false)
Parameters
Type |
Name |
Description |
System.Boolean |
forceUpdate |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetFileName(Boolean)
Declaration
public string GetFileName(bool forceUpdate = false)
Parameters
Type |
Name |
Description |
System.Boolean |
forceUpdate |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetFileNameWithoutExtension(Boolean)
Declaration
public string GetFileNameWithoutExtension(bool forceUpdate = false)
Parameters
Type |
Name |
Description |
System.Boolean |
forceUpdate |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetOrLoadAsset()
Declaration
public Object GetOrLoadAsset()
Returns
Type |
Description |
UnityEngine.Object |
|
|
Improve this Doc
View Source
GetPath(Boolean)
Declaration
public string GetPath(bool forceUpdate = false)
Parameters
Type |
Name |
Description |
System.Boolean |
forceUpdate |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetPathWithoutExtension(Boolean)
Declaration
public string GetPathWithoutExtension(bool forceUpdate = false)
Parameters
Type |
Name |
Description |
System.Boolean |
forceUpdate |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetTypeString(Boolean)
Declaration
public string GetTypeString(bool forceUpdate = false)
Parameters
Type |
Name |
Description |
System.Boolean |
forceUpdate |
|
Returns
Type |
Description |
System.String |
|