From e222a42d1aac708704a17e8291e1156763e46a29 Mon Sep 17 00:00:00 2001 From: Geoffrey Horsington Date: Tue, 25 Feb 2020 21:00:38 +0200 Subject: [PATCH] Update README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index c23cc51..ce957d5 100644 --- a/README.md +++ b/README.md @@ -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.