Add creating of new NetworkBehaviour scripts from Create menu in Editor#851
Merged
Conversation
Add string extension helper method & reading default template at the start
Owner
|
Very neat. Thank you for the PR! |
FirstGearGames
pushed a commit
that referenced
this pull request
Mar 14, 2025
- Fixed Beta SyncList NullReferenceException error (#850). - Improved List and Dictionary collection readers now take collections from caches first. - Fixed NetworkTransform setting Rigidbody/2D interpolation to none on owners. - Fixed server configuring NetworkTransform before there was an owner. - Added PreciseTick(uint) constructor to generate a PreciseTick with 0 subtick value. - Fixed ReadPayload data corruption (#855). - Improved DebugManager inspector. - Fixed UniversalTickSmoother conditionally providing excessively large adaptive interpolation values. - Added Reader.ReadStringAllocated. - Obsoleted Reader.ReadString. - Added DebugManager Validate Rpc Lengths to verify RPCs potentially corrupting data. - Added SceneProcessorBase.GetLastLoadedScene. - Fixed OnStopNetwork incorrectly invoking on clientHost when object despawned for client but not yet on server. - Added New NetworkBehaviour template menu under Fish-Networking > Configuratoin, thanks Rain1950! (#851).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I used this Editor scripts for a while but decided to contribute to FishNet and polish it.
This set of scripts allows creating new NetworkBehaviour scripts just like you would with MonoBehaviour. It also copies and modifies default/custom template on first launch so you don't have to change anything. Path where template is copied is open to discussion, there is a way to save it in config.xml, if that's more convenient.
Custom Project settings tab to edit script template
Create menu option to create NetworkBehaviourScript using template