Sample Visual Studio solution to help you started with a new mod for Oxygen not Included.
- .NET Framework 3.5
- Visual Studio 2017
- Copy the following files from ONI's
OxygenNotIncluded_Data\Managedfolder to this mod's\lib\:Assembly-CSharp.dllAssembly-CSharp-firstpass.dllUnityEngine.dllUnityEngine.UI.dll
- Open solution in Visual Studio
- Now there are some renames to be done from
ExampleModto your mod's name:- Open project's
Properties:- Rename
Assembly nameandDefault Namespace - Click
Assembly Information...and make renames there too
- Rename
- Open .cs file and rename
ExampleModclass
- Open project's
- Build (.dll will get copied to ONI
Modsdir); - Run the game.