diff options
| author | yum <yum.food.vr@gmail.com> | 2025-11-10 16:26:15 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-11-10 16:26:15 -0800 |
| commit | a9d68542ce0dede3a9759107b7ae76bedfa62c1e (patch) | |
| tree | 4c91e932040052e36be46ed67bac68e81a8b6799 /Scripts | |
| parent | 672a7acca1f0401de7ac0ac94d3379081fa363e6 (diff) | |
fix compilation error in non-worlds projects
Diffstat (limited to 'Scripts')
| -rw-r--r-- | Scripts/DataDecoder.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Scripts/DataDecoder.cs b/Scripts/DataDecoder.cs index 9715d81..4773886 100644 --- a/Scripts/DataDecoder.cs +++ b/Scripts/DataDecoder.cs @@ -1,3 +1,5 @@ +#if UDON + using System; using System.Runtime.InteropServices; using System.Collections.Generic; @@ -308,3 +310,6 @@ public class DataDecoder : UdonSharpBehaviour return pixelData[index]; } } + +#endif // UDON + |
