Search Unity

Feedback how to change lightweight render pipeline asset properties inside a monobehaviour

Discussion in 'Editor & General Support' started by raswl, Mar 11, 2019.

  1. raswl

    raswl

    Joined:
    Mar 4, 2018
    Posts:
    2
    so i'm creating a 3d mobile game and i'm at creating the main menu UI , and i want to add the ability to customize the lightweight render pipelines to make the player choose what to enable and disable
    i made 6 LWRP tiers and 1 Custom tier that i want to change inside monobehaviour using button input , some of the LightweightRenderPipelineAsset values are editable but most of them are readonly , i want to know how to get past that ... thanks.
     
  2. gputhread

    gputhread

    Joined:
    Dec 7, 2018
    Posts:
    36
    Looking for same, so far found this!
    LightweightRenderPipelineAsset asset = AssetDatabase.LoadAssetAtPath<UnityEngine.Rendering.LWRP.LightweightRenderPipelineAsset>("Assets/LightweightRenderPipelineAssetLow.asset");