Skip to content

Tool to migrate your UNET project to Mirror (converts scripts and components)

License

Notifications You must be signed in to change notification settings

Lymdun/MirrorConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

adadd54 · Feb 13, 2020

History

95 Commits
Feb 13, 2020
Nov 27, 2019
May 2, 2019
Nov 27, 2019
Feb 17, 2019
Nov 19, 2019

Repository files navigation

Unet to Mirror Converter

This is a tool which automatically convert your UNET project to Mirror project, including components, prefabs and scripts.
Based on Mirror migration guide, this tool is able to do alone the following steps:

  • Replace namespace
  • Remove NetworkSettings
  • Rename SyncListStruct to SyncList
  • Replace NetworkHash128 and NetworkInstanceId
  • Replace Components
  • Replace Usings

Others steps are needed to be done by you.

In case you want to exclude a script from the Script Converter, just add //MirrorConverter NoConversion on top of your script.

Installation

Simply download latest release and import it on Unity. Or, you can download this repo, and put the inside of Assets\Mirror inside the Mirror folder of your project.

Usage

Just go through Tools\Mirror on Unity3D with your project open.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT