Namespaces & Script Context¶
ZenCoder executes your code inside a shared script context, where some commonly used C# namespaces are already imported for you.
This makes writing code faster and cleaner, without needing to type long, fully qualified names.
By default, ZenCoder includes:
SystemSystem.LinqSystem.Collections.GenericUnityEngineUnityEditor
This means you can directly use GameObject, Debug, List<>, etc., without writing UnityEngine.GameObject or System.Collections.Generic.List.
Customizing Namespaces¶
You can adjust this list in:
ZenCoder → Preferences → General → Included Namespaces
Here, you can:
-
Add or remove namespaces to fit your workflow
-
Reorder them for clarity
-
Click Reset to Default to restore the original set