diff options
| author | yum <yum.food.vr@gmail.com> | 2025-07-30 13:09:19 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-07-30 13:16:57 -0700 |
| commit | 65797304fb21181e1fcbd45dfebd0d2cf159ea6b (patch) | |
| tree | e5580c68d1f1f791d5a801ede40b83dce92cc745 /Scripts/PipelineExecutor.cs | |
| parent | 341ea861c8189cefe8689bd41d8adbe2cd2d87b2 (diff) | |
- Add a script to create a pipeline & assets in a single click
- Add pipeline executor concept. This exists to (theoretically) let
users merge the results of multiple pipelines.
Diffstat (limited to 'Scripts/PipelineExecutor.cs')
| -rw-r--r-- | Scripts/PipelineExecutor.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Scripts/PipelineExecutor.cs b/Scripts/PipelineExecutor.cs new file mode 100644 index 0000000..bf40bc6 --- /dev/null +++ b/Scripts/PipelineExecutor.cs @@ -0,0 +1,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(); + } + } + } +} + |
