summaryrefslogtreecommitdiffstats
path: root/Scripts/PipelineExecutor.cs
blob: bf40bc6d0e44783f54933b9d15d43856f40d2d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;

public class PipelineExecutor : UdonSharpBehaviour
{
    public LinearPipeline[] pipelines;

    void Update()
    {
        if (pipelines == null) return;

        for (int i = 0; i < pipelines.Length; i++)
        {
            if (pipelines[i] != null)
            {
                pipelines[i].RunPipeline();
            }
        }
    }
}