Can't drag Python script into a GameObject

Hi folks,

I’m currently developing my Game “Mikacraft” with Unity3D and Python 3.10.0. When it’s finished, I want to publish it in the web. But when I’m trying to drag the Python script for the player into a game object, the script is still in the “Scripts”-folder and nothing happens. Can someone help me how to drag my python script into a GameObject?

Sincerely yours,
Atten007

Out of the box, Unity doesn’t support Python, so you wouldn’t be able to add it as a component. Are you using some sort of plugin to allow the use of Python?

Also, according to this, Python 3 isn’t supported.
https://docs.unity3d.com/Packages/com.unity.scripting.python@2.0/manual/installation.html

1 Like