From a9d68542ce0dede3a9759107b7ae76bedfa62c1e Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 10 Nov 2025 16:26:15 -0800 Subject: fix compilation error in non-worlds projects --- Scripts/DataDecoder.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Scripts/DataDecoder.cs') 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 + -- cgit v1.2.3