docs.unity3d.com
    Show / Hide Table of Contents

    Python Scripting package

    Note

    To use the Python Scripting package, you must install it separately, in addition to the Unity Editor. For detailed information about package requirements and installation instructions, refer to Installation.

    Use the Python Scripting package to optimize Unity Editor workflows for your VFX/animation pipelines:

    • Automate repetitive tasks with simple Python scripts to speed up your artistic processes.
    • Integrate your custom pipeline tools written in Python to extend Unity's functionality.
    • Increase Unity's interoperability with other software of your pipeline that already use Python.
    Section Description
    Installation Install the Python Scripting package and extend its capabilities with additional Python modules and packages. Check out the versions of the Python libraries installed with the package.
    Get Started with the Python Script Editor Use the Python Script Editor to write, save, load, and execute Python scripts in Unity.
    Create a menu item that calls your script Use the Python Script Editor to create custom menu items that execute Python scripts from the Unity Editor menu.
    Call Python code from C# Call Python instructions, script files, or APIs directly from C# to integrate your own features in Unity.
    Python Script Editor Get a full description of the Python Script Editor window interface.
    Project Settings Get a description of all Python Scripting package properties and tools available in the Unity Project Settings.
    Known issues and limitations See the list of current known issues and limitations that you might experience with the Python Scripting package, along with some workarounds.
    Note

    The Python Scripting package is a feature designed to work only in the Unity Editor. It isn't available in runtime builds.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023