1
Contributing
Benjamin Hines edited this page 2022-05-28 10:59:57 -04:00
First: make a unity project for this package to live in.
Second: clone this repository into the packages folder.
Third: Add an editor folder in the project's assets folder.
Fourth: add this script under any name to that folder.
using System.Diagnostics;
using UnityEditor;
public class OpenPackageDir
{
[MenuItem("Processes/Open Utils")]
public static void OpenPowershellWindow()
{
Process.Start("powershell.exe", "-noexit -command \"cd packages/soulshardutilities\"");
}
}
You should now have a menu item on your top bar of the unity
editor that you can quickly open a PowerShell window from to
push your changes to this repository.
Fifth: open the Test Runner window.
This will make sure that any changes you make will not break
existing code, just click Run All before committing your changes