Example #1
0
 public static Texture LoadTextture(this EZResources instance, string bundleName, string assetName)
 {
     return(instance.LoadAsset <Texture>(bundleName, assetName));
 }
Example #2
0
 public static AudioClip LoadAudioClip(this EZResources instance, string bundleName, string assetName)
 {
     return(instance.LoadAsset <AudioClip>(bundleName, assetName));
 }
Example #3
0
 public static GameObject LoadGameObject(this EZResources instance, string bundleName, string assetName)
 {
     return(instance.LoadAsset <GameObject>(bundleName, assetName));
 }
Example #4
0
 public static Sprite LoadSprite(this EZResources instance, string bundleName, string assetName)
 {
     return(instance.LoadAsset <Sprite>(bundleName, assetName));
 }