Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add creating of new NetworkBehaviour scripts from Create menu in Editor #851

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Rain1950
Copy link

@Rain1950 Rain1950 commented Mar 5, 2025

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.

obraz
Custom Project settings tab to edit script template

obraz
Create menu option to create NetworkBehaviourScript using template

Rain1950 added 4 commits March 2, 2025 22:04
Add string extension helper method & reading default template at the start
@FirstGearGames
Copy link
Owner

Very neat. Thank you for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants