How To Perform An Upgrade
When you want to update this package, or invectors, there are some hoops that need to be jumped through. Do to the way invector is setup and how it interacts with this package's automation it's not as simple as just doing an import.
Performing A Easy Multiplayer Invector Package Upgrade
If you want to update the Easy Multiplayer Invector package...
1. Import The Package
Either from the CBGames store or the Asset Store import the new package into your project.
2. Delete Imported.txt files
Navigate to the following locations, if you have them, and delete the Imported.txt files. These files tell the automation if you have imported the main bulk of the code or not. (File paths may vary if you have moved them in your project)
Assets/CBGames/EasyMultiplayer-Invector/Basic Locomotion/Editor/Imported.txt
Assets/CBGames/EasyMultiplayer-Invector/Melee Combat/Editor/Imported.txt
Assets/CBGames/EasyMultiplayer-Invector/Shooter/Editor/Imported.txt
3. Re-Import
With the above files deleted when you open the main window again it will prompt you to import again. Click the import button and you should be done.
You have successfully updated the package/packages.
Perform Invector Package Upgrade
If you want to update Invector's code base be sure that you also update the Easy Multiplayer Invector package along with it. Following the order here is vitial. Do not deviate from this order in any way.
1. Import Easy Multiplayer Invector Update
In the package manager or asset store import the updated Easy Multiplayer Invector package update.
2. Import Invector Package
In the package manager or asset store update the invector suite. This will probably lead to errors, don't worry we can ignore these for now.
3. Remove ScriptsConverted.txt and Imported.txt Files
We now need to delete the following files if you have them:
Assets/CBGames/EasyMultiplayer-Invector/Basic Locomotion/Editor/Imported.txt
Assets/CBGames/EasyMultiplayer-Invector/Basic Locomotion/Editor/ScriptsConverted.txt
Assets/CBGames/EasyMultiplayer-Invector/Melee Combat/Editor/Imported.txt
Assets/CBGames/EasyMultiplayer-Invector/Melee Combat/Editor/ScriptsConverted.txt
Assets/CBGames/EasyMultiplayer-Invector/Shooter/Editor/Imported.txt
Assets/CBGames/EasyMultiplayer-Invector/Shooter/Editor/ScriptsConverted.txt
4. Re-Convert & Re-Import
With the above files removed open the main editor window again. It should prompt you to Convert Scripts again. Re-convert the script and force the recompile again by following the instructions in the editor window.
Now click import again and everything should be updated.
You have successfully update Invector and Easy Multiplayer Invector packages.