Photon Fusion 2.1.1

PluginCodeExportSettingsAttribute Class Reference

Use this attribute to control how the attributed code will be exported for use in the plugin. More...

Public Member Functions

 PluginCodeExportSettingsAttribute (PluginExportOptions options)
 Configurable constructor.

Properties

PluginExportOptions Options [get]
 The options to use when attempting export the attributed type.
bool ShouldExport [get]
 Checks if the PluginExportOptions.Export option has been set.

Detailed Description

Use this attribute to control how the attributed code will be exported for use in the plugin.

Typical behaviour for the exporter is to export all NetworkObject's NetworkBehaviour's and INetworkStruct's. if however this is not desired you can add this attribute with the PluginExportOptions.Skip option to skip it from the export.

This attribute can also be added to your own types with the PluginExportOptions.Export option to include those types in the export.

Constructor & Destructor Documentation

◆ PluginCodeExportSettingsAttribute()

PluginCodeExportSettingsAttribute ( PluginExportOptions options)

Configurable constructor.

Parameters
optionsThe export configuration.