AutoRig/GlobalUsings.cs

Global using directives for the project's in-engine compiler. Declares common System namespaces as global usings so the codebase compiles inside the s&box editor environment which does not inject BCL usings automatically.

// Global usings for the s&box in-engine compiler.
//
// The plain net8.0 dev harness gets these automatically via <ImplicitUsings>, but
// s&box's compiler injects no BCL usings at all - without this file the library
// fails to compile inside the editor (CS0246 on List<>, FormatException, MathF, …).
// Pattern proven by humanoid-retargeter's Assembly.cs. The dev/enginebuild and
// dev/editorbuild gate csprojs set <ImplicitUsings>disable</ImplicitUsings> so they
// compile with exactly the same using set the editor sees.

global using System;
global using System.Collections.Generic;
global using System.IO;
global using System.Linq;
global using System.Threading;
global using System.Threading.Tasks;