/UnityWithPython

Unity 2020.3.7f1 execute python script from C# source code.

Primary LanguageC#

UnityWithPython

Features

Windows10で、UnityのC#からPythonを実行する方法をプロトタイプする

Requirement

Unityは動作確認済みのバージョン

  • Unity 2020.3.7f1
  • Python 3.6

Installation

  • Unityのインストール
  • Python3.6のインストール

Usage

git clone https://github.com/hoge/~
cd examples

# UnityEditorでプロジェクトを開く

PythonExetutorのPythonのPathを自分のPC環境と一致させ, Editorから実行する

Author

License

It is under MIT license.

Reference

C#からPythonを実行する方法【Unity】 - トーフメモ https://tofgame.hatenablog.com/entry/2019/04/30/011221