Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice

Custom Pass with Array Input

Discussion in 'High Definition Render Pipeline' started by Tirus, Aug 21, 2020.

  1. Tirus

    Tirus

    Joined:
    Aug 9, 2013
    Posts:
    9
    Do Custom passes work with Array Inputs?

    I have public Arrays in my Custom pass like this:
    Code (CSharp):
    1.     public int[] test;
    2.     public Material[] walkTrailMaterials;
    The Inspector looks like this:

    upload_2020-8-21_18-0-31.png

    Am I doing something wrong or is it not possible to do this?

    Unity Version: 2020.1.2f1
     
unityunity