![]() ![]() GameVersion - Minimum required version of game. ManagerVersion - Minimum required version of the mod manager (Format must be 'x.x.x'). Version - Needs for dependent mods and to checking for updates (Format must be 'x.x.x'). ![]() It is desirable to match the folder name. ![]() In the Main class add the following function : PauseController.SetPause(PauseStatus.UnPaused) (Traverse.Create(typeof(TriggerManager)).Field("alreadyTriggeredTriggerOnceTriggers").GetValue() as List).Clear() Static class PauseMenu_RestartLevel_Patch MethodInfo dynMethod = m_ConfirmationPopup.GetType().GetMethod("ConfirmReturnToMenu", BindingFlags.NonPublic | BindingFlags.Instance) ĭynMethod.Invoke(m_ConfirmationPopup, null) PauseGameConfirmationPopup m_ConfirmationPopup = (Traverse.Create(_instance).Field("m_ConfirmationPopup").GetValue() as PauseGameConfirmationPopup) Static class PauseMenu_ReturnToMenu_Patch '\Steam\steamapps\common\Broforce\Broforce_beta_Data\Managed\'Īfter that, click on Add, open 'Browse.' again and go to 'Broforce_beta_Data\Managed\UnityModManager' and select the following files: Rename 'Class1' in Solution Explorer to 'Main'.Īfter this, in Solution Explorer, right click on References and select 'Add Reference'. Otherwise, your mod will not work!Īfter project creation, you arrive on this page: But the most important things is the Framework version! Broforce uses version 3.5, so you need to select Framework v3.5. Open project creation and select 'Class Library (NET Framework)'.Īfter project selection, you need to enter a name. Download and install Microsoft Visual Studio Community 2017 or 2019 with C#.If you have some experience in programming but you're new into C#, learn basic syntax and functions first. If you are new into programming, I suggest you to learn basics of coding first (remember not only to read the documents, but also to practice your knowledge!). Unity's code is written in C#, as well as these mods are. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |