The plugin provides a certain amount of automatic functionality to support the operation of the EOS SDK, such as DLL loading and post-processing of builds to include the requisite files. Since some of this functionality is not under the user's direct control, the plugin supports a per-platform method of disabling all significant EOS runtime functionality.
-
Open the Player menu in Project Settings:
-
Select the desired platform and expand the Other Settings submenu:
-
Find the Scripting Define Symbols configuration:
-
Use the
+button to add theEOS_DISABLEdefine to the list and clickApply:
- All scripts from the C# EOS SDK included in the
EOS_SDKsubdirectory of the plugin are disabled. - All scripts included in the EOS plugin samples are disabled, with except for
EOSHostManager. - Build script functionality (any classes implementing
IPreprocessBuildWithReportor the like) are disabled. EOSManagerremains a valid component, but all of its functionality is disabled.
Note
Currently, while doing the above does disable functionality, the Dll may still be loaded.