Merge remote-tracking branch 'origin/1.11' into sdl_platform_1.11

# Conflicts:
#	Source/Engine/Platform/Windows/WindowsPlatform.cpp
#	Source/Tools/Flax.Build/Build/ProjectTarget.cs
#	Source/Tools/Flax.Build/Configuration.cs
This commit is contained in:
2025-09-07 19:31:16 +03:00
470 changed files with 53355 additions and 3350 deletions

View File

@@ -271,8 +271,8 @@ namespace Flax.Build.Bindings
{
if (string.Equals(token.Value, ApiTokens.Class, StringComparison.Ordinal))
{
if (!(context.ScopeInfo is FileInfo))
throw new NotImplementedException("TODO: add support for nested classes in scripting API");
if (!(context.ScopeInfo is FileInfo) && !(context.ScopeInfo is ClassInfo))
throw new Exception($"Not supported nested class at line {tokenizer.CurrentLine}. Classes can be nested only in other classes (or in global scope).");
var classInfo = ParseClass(ref context);
scopeType = classInfo;