We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19a9bf6 commit e222a42Copy full SHA for e222a42
README.md
@@ -58,11 +58,14 @@ You can specify metadata *at the very start of your script* by using the followi
58
// #desc A longer description of the script. This still should be a one-liner.
59
// #ref ${Managed}/UnityEngine.UI.dll
60
// #ref ${BepInExRoot}/core/MyDependency.dll
61
+// #proc_filter Game.exe
62
63
using UnityEngine;
64
...
65
```
66
67
+The `proc_filter` tag acts like BepinProcess attribute in BepInEx: it allows you to specify which processes to run the script on.
68
+
69
The `ref` tag is special: ScriptLoader will automatically load any assemblies specified with the tag.
70
The path is relative to the `scripts` folder, but you can use `${Folder}` to reference some special folders.
71
0 commit comments