RoR2EditorKit - Editor Utilities, Inspectors and More for Risk of Rain2
About
RoR2EditorKit is a Thunderkit Extension for developing mods inside the UnityEditor, providing a myriad of Inspectors, Property Drawers, Editor Windows and more.
At it's core, RoR2EditorKit should not have any classes or systems that depend on runtime usage, RoR2EditorKit works exclusively for speeding up the modding enviroment.
Manual Installation
To Download RoR2EditorKit to your project, it is recommended that you either add it via the ThunderKit extension store, or adding it via Unity's PackageManager (Downloading a specific tagged version is recommended).
Once installed, it is heavily reccommended to open the ThunderkitSettings window to modify certain settings that RoR2EditorKit will use while helping you develop the mod.
- RoR2EditorKitSettings: Settings of the extension itself
- Token Prefix: A prefix for your mod, it's used to generate unique tokens.
- Main Manifest: The manifest of your mod, used in a myriad of tools to know the assetbundle or the main DLL.
Extending RoR2EditorKit's Functionality.
- In case you need to extend RoR2EditorKit's functionality for your own purposes (Such as a custom inspector for a mod you're working on), you can look into this wiki page that explains how to extend the editor's functionality using RoR2EditorKit's systems.
link
Contributing
Contributing to RoR2EditorKit is as simple as creating a fork, and cloning the project. the main folder (RoR2EditorKit) is a unity project itself. Simply opening it with the unity version ror2 uses will allow you to edit the project to your heart's content.
A more detailed Contribution guideline can be found here
Changelog
(Old changelogs can be found here)
'3.3.0'
- Core Changes:
-
Improved material editor so it doesnt wipe itself
-
Added wizard systems
- A wizard allows you to create complex jobs for your project.
-
All the asset GUID contants are now under Constants.AssetGUIDS class.
- Added a QuickLoad and GetPath methods for AssetGUIDS class.
-
Added FormatPathForUnity and GetCurrentDirectory to IOUtils.
-
Extended inspector's object name conventions have been extended.
- Can now specify both a custom help box message and custom name validation function
-
Component Inspectors now always have the fancy enable toggle visual element.
-
RoR2EditorScripts changes:
- Added ModCreator wizard.
- Creates an Asmdef, manifest, assetbundle folder and main class for a mod
- Added StageCreator wizard
- Creates a template stage and scenedef
- Added CharacterBodyCreator Wizard
- Creates a valid CharacterBody by supplying minimal data and the FBX game object for the model.
- Added a SurvivorCreator Wizard
- Creates a SurvivorDef and DisplayPrefab, the DisplayPrefab is taken directly from the specified CharacterBody's model.
- Added MapNodeGroup inspector
- MapNodeGroup inspector allows for easy placement of nodes and utilities (Thanks Anreol & IDeath)
- EntityStateConfiguration no longer renames the asset file without consent if naming conventions are enabled.
- Added JumpVolume Inspector
- Automatically calculates the JumpVelocity using the Time variable and the TargetElevationTransform variable.
- Added SurvivorDef Inspector
- SerializableSystemType changes
- SerializableSystemType can now obtain the required type if the field is an Array.
- SerializableSystemType no longer fails to populate if a Type does not have an enclosing namespace.
'3.2.2'
'3.2.1'
'3.2.0'
'3.1.0'
'3.0.2'
- RoR2EditorScripts changes:
- Made assembly Editor Only
'3.0.1'
'3.0.0'