From 35504d8e34f74ca955282ebf0bc3f320bd2e9b8e Mon Sep 17 00:00:00 2001 From: DerEffi Date: Sun, 6 Oct 2024 18:36:07 +0200 Subject: [PATCH] Update 2_plugin_start.md (#29) Changed .net standard version from 2.0 to 2.1 for games using unity 2021.2 or newer --- articles/dev_guide/plugin_tutorial/2_plugin_start.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/dev_guide/plugin_tutorial/2_plugin_start.md b/articles/dev_guide/plugin_tutorial/2_plugin_start.md index 8a123a11..82c4c5d3 100644 --- a/articles/dev_guide/plugin_tutorial/2_plugin_start.md +++ b/articles/dev_guide/plugin_tutorial/2_plugin_start.md @@ -31,7 +31,7 @@ To create a project in the folder, do the following depending on the game type y You can follow this general-purpose choice process: - * If the game has `netstandard.dll` in `_Data/Managed` folder, your TFM is `netstandard2.0`. If you run into reference errors, target `net472`. + * If the game has `netstandard.dll` in `_Data/Managed` folder, your TFM is `netstandard2.0` (for Unity 2021.1.x or older) or `netstandard2.1` (for Unity 2021.2 or newer). If you run into reference errors, target `net472`. **OR** * If the game's `mscorlib.dll` file version (right click the file -> `Properties` -> `Details`, `exiftool mscorlib.dll | grep "File Version"` on Linux) is at least `4.0.0.0` or newer, your TFM is `net46` **OR**