Post by eldv on Dec 5, 2020 2:46:34 GMT
Hi Everyone,
I have created a set of update instructions for the Easy Main Menu Invector Integration. Although there have been some changes to the Invector Controllers since EMM has been updated, the changes are relatively minor and once completed the EMM integration works as it should.
To update the Easy Main Menu Invector Integration follow the instructions below. Several files will need to be updated, but the changes that need to be made are rather minor.
. 1. Locate the "EMM Integrations" folder inside Easy Main Menu.
2. Open "Invector Integration" folder, and you'll find a zip file also called "Invector Integration".
3. Extract that zip file into a folder of your choosing. I just extracted it right into its same folder.
4. Once you have done this , two folders, two scenes, and a pdf file will appear.
5. One of the folders which appears will ALSO again be called Invector Integration, open this folder. There are five scripts located here: EndScreen.cs, EndScreenItem.cs, EndScreenTrigger.cs, ItemSaveLoadManager.cs, and RetrieveCurrentItem.cs. You wlll need to make small changes to three of these files:
6. EndScreen.cs : In the includes declaration at the top, change using "Invector.CharacterController": to "Invector.vCharacterController." On line 44 change ".lockCamera" to ".LockCameraInput". Save the file.
7. EndScreenItem.cs: Make no changes.
8. EndScreenTrigger.cs: Make No changes.
9. ItemSaveLoadmanager.cs: In the includes declaration at the top, change using Invector.ItemManager to to Invector.vItemManager. Save the file.
10. RetrieveCurrentItems.cs: In the includes declaration at the top, change using "Invector.ItemManager" and "Invector.CharacterController" to "Invector.vItemManager," and "Invector.vCharacterController", respectively. Save the file.
11. RetrieveCurrentItems.cs will still throw an error as it tries to read the currenthealth value from the vHealthController due to this variable's protected status. To correct this open the vHealthController script. In the variable declaration section on line 15, remove the protected from the float _currenthealth. In the public int MaxHealth get-set declaration, On line 26 remove the protected from this line. In public float currenthealth get-set declaration, on line 27 remove the protected from this line. Save the vHealthController.cs file. This will recompile and remove the errors from RetrieveCurrentItems.
This I believe is all of the changes that need to be made to the files in the Invector Integration, and the asset should work no problem.
Happy Game Dev'ing!
I have created a set of update instructions for the Easy Main Menu Invector Integration. Although there have been some changes to the Invector Controllers since EMM has been updated, the changes are relatively minor and once completed the EMM integration works as it should.
To update the Easy Main Menu Invector Integration follow the instructions below. Several files will need to be updated, but the changes that need to be made are rather minor.
. 1. Locate the "EMM Integrations" folder inside Easy Main Menu.
2. Open "Invector Integration" folder, and you'll find a zip file also called "Invector Integration".
3. Extract that zip file into a folder of your choosing. I just extracted it right into its same folder.
4. Once you have done this , two folders, two scenes, and a pdf file will appear.
5. One of the folders which appears will ALSO again be called Invector Integration, open this folder. There are five scripts located here: EndScreen.cs, EndScreenItem.cs, EndScreenTrigger.cs, ItemSaveLoadManager.cs, and RetrieveCurrentItem.cs. You wlll need to make small changes to three of these files:
6. EndScreen.cs : In the includes declaration at the top, change using "Invector.CharacterController": to "Invector.vCharacterController." On line 44 change ".lockCamera" to ".LockCameraInput". Save the file.
7. EndScreenItem.cs: Make no changes.
8. EndScreenTrigger.cs: Make No changes.
9. ItemSaveLoadmanager.cs: In the includes declaration at the top, change using Invector.ItemManager to to Invector.vItemManager. Save the file.
10. RetrieveCurrentItems.cs: In the includes declaration at the top, change using "Invector.ItemManager" and "Invector.CharacterController" to "Invector.vItemManager," and "Invector.vCharacterController", respectively. Save the file.
11. RetrieveCurrentItems.cs will still throw an error as it tries to read the currenthealth value from the vHealthController due to this variable's protected status. To correct this open the vHealthController script. In the variable declaration section on line 15, remove the protected from the float _currenthealth. In the public int MaxHealth get-set declaration, On line 26 remove the protected from this line. In public float currenthealth get-set declaration, on line 27 remove the protected from this line. Save the vHealthController.cs file. This will recompile and remove the errors from RetrieveCurrentItems.
This I believe is all of the changes that need to be made to the files in the Invector Integration, and the asset should work no problem.
Happy Game Dev'ing!