Skip to content

Commit e222a42

Browse files
committed
Update README
1 parent 19a9bf6 commit e222a42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,14 @@ You can specify metadata *at the very start of your script* by using the followi
5858
// #desc A longer description of the script. This still should be a one-liner.
5959
// #ref ${Managed}/UnityEngine.UI.dll
6060
// #ref ${BepInExRoot}/core/MyDependency.dll
61+
// #proc_filter Game.exe
6162
6263
using UnityEngine;
6364
...
6465
```
6566

67+
The `proc_filter` tag acts like BepinProcess attribute in BepInEx: it allows you to specify which processes to run the script on.
68+
6669
The `ref` tag is special: ScriptLoader will automatically load any assemblies specified with the tag.
6770
The path is relative to the `scripts` folder, but you can use `${Folder}` to reference some special folders.
6871

0 commit comments

Comments
 (0)