extraScriptingDefines
User-specified preprocessor defines used while compiling assemblies during the AssetBundle build. (optional)
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public string[] extraScriptingDefines { readonly get; set; }
Remarks
Preprocessor defines may be used to exclude serialized fields from class definitions, so this can be have an influence on how objects are serialized during the build process. Typically value passed here should match any extra scripting defines passed during the player build.
Additional Resources: BuildPlayerOptions.extraScriptingDefines