#Modifying properties (not just fields) on the NetcodeConfig object

1 messages · Page 1 of 1 (latest)

torpid python
#

Creating a global NetcodeConfig object is a good way to change properties (like interpolation, prediction, bandwidth settings, etc.), but the inspector only allows you to edit fields on this object. There's a couple values that I'd like to change (like FirstSendImportanceMultiplier), which are properties instead of fields, so I can't edit them in the inspector. I've tried to change these values in the corresponding config singletons at runtime, but my changes are overwritten by the global NetcodeConfig's default values for these properties. Has anyone figured out how to override these property values, like a particular order to put the system that makes these changes in?