NGUtil LoadAsset T  Method ScoreFlash API Documentation V4.6.0
Tries to load an asset of type T from path.

Namespace: NarayanaGames.Common
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax

public static T LoadAsset<T>(
	string path
)
where T : Object

Parameters

path
Type: OnlineSystem String
the full pasth to the asset starting with Assets/
Type Parameters

T
the type of the asset

Return Value

the asset to be loaded, or null if it cannot be loaded
See Also