There are ways to integrate python scripts in unity applications, but at its core, you'll need and want to learn c# and/or c++ Rust and ironpython are just distractions at your level, and ironpython a dead end. Python is the most popular programming language in the world Unity is the most popular game engine in the world To combine these two, a user guide from unity is all you need. I tried with ironpython and unity’s own api, but i can’t get it to work
I am able to run the code correctly, but i always get errors regarding imports and references to external files, located in the same folder… Now that we have a basic understanding of c and python let’s explore how python can be used in unity projects There are several ways to integrate python into an unity project, each with its own benefits and limitations. Many developers wonder if they can combine the strengths of both, using python within the unity environment This blog will explore the fundamental concepts, usage methods, common practices, and best practices of using python in unity. The python script editor makes it easy to test python scripts and to create a menu item to allow users to easily access the script
I personally use vscode for everything, from machine learning to unity, even writing with the vim extension Vscode has such a abundant extension libraries, which greatly has one for jupyter. It’s not worth embedding python into a unity project just because you have an existing algorithm which may not even work with the data provided by unity So either way it’ll have to be a complete overhaul, and porting the algorithm to c# provides the least amount of technical friction by far. While unity doesn’t natively support python, there are still ways to use python with unity The experimental python for unity feature offers limited support, but you can also use python outside of unity and integrate it with your game using socket programming or a web server.
OPEN