5 Months Ago
Inspector Advanced Network Settings (#1617) * Start adding support to edit Network Orphaned and Owner Transfer options in Inspector (visible when Network Mode is set to Object) https://files.facepunch.com/conna/1b0311b1/sbox-dev_I7Fk7tfs6K.png * Make sure NetworkOrphaned and OwnerTransfer modes get serialized / deserialized * Move over to setting NetworkOrphaned/OwnerTransfer on the GameObject directly (with multi-select) * Move out to its own widget - this is gonna be a button that drops down for advanced network settings * Adv network settings button next to Network Mode in inspector - opens drop down menu to set net orphaned mode / owner transfer mode * Store current val outside scope * Modify style * Add RadioSelect widget for use with advanced network settings as it makes sense ( https://files.facepunch.com/conna/1b0911b1/sbox-dev_Ej9Kk8WU3y.mp4 ) * Disable the option to open the menu if NetworkMode is not Object - no point allowing to change these settings for objects that arent networked