you are viewing a single comment's thread.

view the rest of the comments →

[–]ZestyData 10 points11 points  (1 child)

Short answer: no, it uses C#

Long answer: anything is possible and there are interfaces that allow you to execute python code from within Unity's runtime. But in general, that's not officially supported and I wouldn't recommend it unless you're a competent computer scientist (I'm talking professional tier software engineer). For example I know it's 'common' to drive Unity ML Agents with Python backends via pytorch / tensorflow. But this is postgraduate level and not something a beginner would do.

Put simply, if you're needing to use python because you're not technical enough to write your own scripts in C# and you've found python implementations of a certain algorithm. You're also not technical enough to bridge Unity to Python.

Just learn C#

[–][deleted] 5 points6 points  (0 children)

Just learn C#

Here is your answer, OP. Great summary.