C# Class UnityEngine.Resources

ファイルを表示 Open project: randomize/VimConfig Class Usage Examples

Public Methods

Method Description
FindObjectsOfTypeAll ( Type type ) : Object[]
GetBuiltinResource ( Type type, string path ) : System.Object
Load ( string path ) : System.Object
Load ( string path, Type systemTypeInstance ) : System.Object
LoadAll ( string path ) : Object[]
LoadAll ( string path, Type systemTypeInstance ) : Object[]
LoadAssetAtPath ( string assetPath, Type type ) : System.Object
Resources ( )
UnloadAsset ( System assetToUnload ) : void
UnloadUnusedAssets ( ) : AsyncOperation

Method Details

FindObjectsOfTypeAll() public static method

public static FindObjectsOfTypeAll ( Type type ) : Object[]
type System.Type
return Object[]

GetBuiltinResource() public static method

public static GetBuiltinResource ( Type type, string path ) : System.Object
type System.Type
path string
return System.Object

Load() public static method

public static Load ( string path ) : System.Object
path string
return System.Object

Load() public static method

public static Load ( string path, Type systemTypeInstance ) : System.Object
path string
systemTypeInstance System.Type
return System.Object

LoadAll() public static method

public static LoadAll ( string path ) : Object[]
path string
return Object[]

LoadAll() public static method

public static LoadAll ( string path, Type systemTypeInstance ) : Object[]
path string
systemTypeInstance System.Type
return Object[]

LoadAssetAtPath() public static method

public static LoadAssetAtPath ( string assetPath, Type type ) : System.Object
assetPath string
type System.Type
return System.Object

Resources() public method

public Resources ( )

UnloadAsset() public static method

public static UnloadAsset ( System assetToUnload ) : void
assetToUnload System
return void

UnloadUnusedAssets() public static method

public static UnloadUnusedAssets ( ) : AsyncOperation
return AsyncOperation