Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an official/unofficial way to program Unity scripts in python? [closed]

I'd really prefer to use python, but Unity only supports C#, UnityScript (similar to JavaScript) and Boo. Is there an official way to use python (ideally 3.x) instead, or an unofficial patch?

like image 796
Dakeyras Avatar asked Dec 08 '12 21:12

Dakeyras


People also ask

Can you program Unity in Python?

Python for Unity requires installing third-party software. Python for Unity provides: A Python Script Editor window principally aimed at Technical Artists who want to run short scripts and easily create new menu items that run Python code.

Are Unity scripts compiled?

Unity automatically defines how scripts compile to managed assemblies. Typically, compilation times in the Unity Editor for iterative script changes increase as you add more scripts to the Project. Use an assembly definition file to define your own managed assemblies based upon scripts inside a folder.

What does Unity use for scripts?

Scripts in Unity are developed using an IDE (integrated development environment) like Visual Studio.

Can you use JavaScript in Unity?

Unity uses JavaScript only as a scripting tool. You write a script in JavaScript, then attach it to a game object to define its behavior in game (based on triggers such as player interaction, interaction with another object, etc.).


1 Answers

Yes, there is a way to use Python, although it is unofficial. See here.

like image 138
Elliot Bonneville Avatar answered Oct 12 '22 18:10

Elliot Bonneville