Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ghorsington committed Feb 25, 2020
1 parent 19a9bf6 commit e222a42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,14 @@ You can specify metadata *at the very start of your script* by using the followi
// #desc A longer description of the script. This still should be a one-liner.
// #ref ${Managed}/UnityEngine.UI.dll
// #ref ${BepInExRoot}/core/MyDependency.dll
// #proc_filter Game.exe
using UnityEngine;
...
```

The `proc_filter` tag acts like BepinProcess attribute in BepInEx: it allows you to specify which processes to run the script on.

The `ref` tag is special: ScriptLoader will automatically load any assemblies specified with the tag.
The path is relative to the `scripts` folder, but you can use `${Folder}` to reference some special folders.

Expand Down

0 comments on commit e222a42

Please sign in to comment.