using UnityEngine;
using UnityEngine.Rendering;
namespace UnityUtils {
public static class ResourcesUtils {
///
/// Load volume profile from given path.
///
/// Path from where volume profile should be loaded.
public static void LoadVolumeProfile(this Volume volume, string path) {
var profile = Resources.Load(path);
volume.profile = profile;
}
}
}