/Duality.IronPython

IronPython integration plugin for Duality

Primary LanguageC#MIT LicenseMIT

Duality.IronPython NuGet

From their own website:

IronPython is an open-source implementation of the Python programming language which is tightly integrated with the .NET Framework. IronPython can use the .NET Framework and Python libraries, and other .NET languages can use Python code just as easily.

This is a Duality plugin that allows you to write your game using Python.

The icons used are part of Mark James' Silk Icons collection.

Usage

  1. Create a GameObject
  2. Add a ScriptExecutor component (Scripts -> ScriptExecutor)
  3. Create a PythonScript resource in Project View (or just drag and drop a Python file)
  4. Drag the PythonScript to the Script property of the ScriptExecutor
  5. Have fun!