public T GetModAsset <T>(string assetName) where T : class { ResourceDatabase resourceDatabase = GetModAssets(ModLoader.CurrentLoader.CurrentMod.Name); return(resourceDatabase.GetResource <T>(assetName)); }
public T GetModAsset <T>(string modName, string assetName) where T : class { ResourceDatabase resourceDatabase = GetModAssets(modName); return(resourceDatabase.GetResource <T>(assetName)); }