Photon Fusion
2.1.1
Implement on a NetworkBehaviour to add BakedPluginData field of T to the exported class and serialized data. More...
Inherits IPluginBakedDataProvider.
Public Member Functions | |
| object IPluginBakedDataProvider. | Bake (in PluginBakedDataContext context) |
| IPluginBakedDataProvider<T>.Bake | |
| new T | Bake (in PluginBakedDataContext context) |
| Creates a baked-data object, right before serialization. | |
Implement on a NetworkBehaviour to add BakedPluginData field of T to the exported class and serialized data.
| T | Data type. If using the default exporter, needs to be Unity-serializable. The data type needs to be visible in the plugin as well, so either define it with PluginCodeExportSettingsAttribute(PluginExportOptions) while also applying the attribute to required fields, or just keep the type definition in a file visible to the plugin. |
| new T Bake | ( | in PluginBakedDataContext | context | ) |
Creates a baked-data object, right before serialization.
| context | Bake context. Empty for now, kept for future API compability |
Implements IPluginBakedDataProvider.