Closed mikoro closed 1 year ago
Specifically this:
[AttributeUsage(AttributeTargets.All, AllowMultiple = true)] public sealed class CNodeAttribute : Attribute { public string Kind { get; init; } = string.Empty; public string Platform { get; init; } = string.Empty; public string Location { get; init; } = string.Empty; }
will cause:
error CS0518: Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported
This worked in Unity with the previous version. Replacing init with set seems to work.
init
set
Thanks!
Specifically this:
will cause:
This worked in Unity with the previous version. Replacing
init
withset
seems to work.