1- UnityPython
2- ===========
1+ # UnityPython
32UnityPython is a plugin for Unity3D that provides support for running Python
432.x code in Unity3D on any platform which supports ` System.Reflection.Emit ` .
54
65Special thanks to the developers of IronPython who developed the open-source
76integration of Python and .NET, which this plugin uses.
87
98
10- Requirements
11- ============
9+ ## Requirements
1210The build target must support ` System.Reflection.Emit ` . In the Unity3D docs, you
1311can find an up-to-date detailed list of which platforms support ` Emit ` or not
1412[ here] ( https://docs.unity3d.com/Manual/ScriptingRestrictions.html ) .
@@ -25,7 +23,7 @@ As of Unity3D 2019.4 LTS, here is a chart of platform support for `Emit`:
2523| Standalone (Mono) | Yes |
2624| Switch (IL2CPP) | No |
2725| Universal Windows Platform (IL2CPP) | No |
28- | Universal Windows Platform (.NET) | Maybe* |
26+ | Universal Windows Platform (.NET) | Maybe\* |
2927| WebGL (IL2CPP) | No |
3028| WiiU (Mono) | Yes |
3129| XBox One (IL2CPP) | No |
@@ -34,18 +32,20 @@ As of Unity3D 2019.4 LTS, here is a chart of platform support for `Emit`:
3432 libraries subset" but fails to state what libraries are included in that
3533 subset. If you know the answer to this question, please open a PR.
3634
37- Setup
38- =====
39- Place the source of this project anywhere in the "Assets" folder. For
40- convenience, you can use the latest ` .unitypackage ` release from the
41- [ releases] [ ] page to do this.
35+
36+ ## Setup
37+ There are three different ways to use this library in Unity:
38+ * Use the ` Add package from git URL... ` option in Unity's package manager and
39+ use the git URL of this repository.
40+ * Clone this repository into your Unity project. Or, if your Unity project is
41+ already a git repository, add this repository as a submodule.
42+ * Download and install the latest [ ` .unitypackage ` release] [ releases ]
4243
4344Then, go to ` Edit > Project Settings > Player > Other Settings > Configuration `
4445and change ` Api Compatability Level ` to ".NET 4.x"
4546
4647
47- Usage
48- =====
48+ ## Usage
4949An example is provided below. More examples can be found in the
5050` Examples/ ` folder.
5151
0 commit comments