Skip to content

Commit

Permalink
Declare IsExternalInit for Unity
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Jun 4, 2024
1 parent c789271 commit f6c943e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
using System.Collections.Generic;
using System.Runtime.CompilerServices;

#if UNITY_5_3_OR_NEWER
namespace System.Runtime.CompilerServices
{
public static class IsExternalInit {}
}
#endif

namespace SpacetimeDB
{
// Note: this utility struct is used by an autogenerated C# code so it needs to be public.
Expand Down

0 comments on commit f6c943e

Please sign in to comment.