Unity Engine documentationScript ReferenceUnityEditorUnityEditor.CompilationScriptCompilerOptionsAllowUnsafeCodeAllow 'unsafe' code when compiling scripts.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEditor.Compilation Assembly: UnityEditor public bool AllowUnsafeCode { get; set; }