mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Added ScriptTemplates package to docs
This commit is contained in:
parent
d940db7e65
commit
b7fcd0eb55
@ -2,12 +2,16 @@
|
||||
|
||||
We've added Script Templates to make it easier to create derived class scripts that inherit from our base classes.
|
||||
|
||||
- All possible overrides are already made for you and organized
|
||||
- They're all fully commented as to what they all do
|
||||
- All possible overrides are already made for you and organized.
|
||||
- They're all fully commented as to what they all do.
|
||||
- Base method calls are all in place where needed so you can see what they already do.
|
||||
- Each has links at the top to their doc page(s)
|
||||
- Each has links at the top to their doc page(s).
|
||||
|
||||
After importing Mirror and restarting Unity, the Mirror section will appear under the Assets > Create menu, as well as the context menu that comes up when you right-click on any folder in your project. You'll be prompted for the file name like any other asset creation.
|
||||
Import [this package](ScriptTemplates.unitypackage) to add Script Templates to your project.
|
||||
|
||||
> **NOTE:** You must restart Unity after importing this package!
|
||||
|
||||
After importing and restarting Unity, the Mirror section will appear under the Assets > Create menu, as well as the context menu that comes up when you right-click on any folder in your project. You'll be prompted for the file name like any other asset creation.
|
||||
|
||||
Hopefully these templates will be helpful to new users of Mirror to learn what methods are available in various classes, as well as just being more convenient for everyone.
|
||||
|
||||
|
BIN
doc/Articles/General/ScriptTemplates.unitypackage
Normal file
BIN
doc/Articles/General/ScriptTemplates.unitypackage
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user