Class PythonSettings
Settings for the Python Scripting package.
Inherited Members
Namespace: UnityEditor.Scripting.Python
Syntax
public sealed class PythonSettings : ScriptableObject
Properties
PythonNetVersion
Version number of our custom python.NET forked library installed with Python Scripting.
Declaration
public static string PythonNetVersion { get; }
Property Value
Type | Description |
---|---|
String |
Version
Returns the release version.
Must be made to match the package.json or else things get confusing.
Declaration
public static string Version { get; }
Property Value
Type | Description |
---|---|
String |
Methods
GetSitePackages()
Set of additional site-packages paths used in your project.
Example: add your studio scripts here.
This is a copy; avoid calling SitePackages in a loop.
Declaration
public static string[] GetSitePackages()
Returns
Type | Description |
---|---|
String[] | A string array of the site-packages |