21 lines
500 B
C#
21 lines
500 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Rendering;
|
|
using UnityEngine.Rendering.Universal;
|
|
|
|
namespace VolFx
|
|
{
|
|
[AddComponentMenu("")]
|
|
public class VolFx_SetUrpAsset : MonoBehaviour
|
|
{
|
|
public UniversalRenderPipelineAsset _urp;
|
|
|
|
// =======================================================================
|
|
private void Start()
|
|
{
|
|
QualitySettings.renderPipeline = _urp;
|
|
}
|
|
}
|
|
}
|