using UnityEditor.Scripting.Python; using UnityEditor; using UnityEngine; public class PythonManager { [MenuItem("Python/Create Heatmap")] static void RunPythonFile() { string scriptPath = Application.dataPath + @"/Depictions_Years/Scripts/Python/Heatmap.py"; PythonRunner.RunFile(scriptPath); } [MenuItem("Python/Create Heatmap Multipe")] static void RunPythonFileMultiple() { string scriptPath = Application.dataPath + @"/Depictions_Years/Scripts/Python/Heatmap_Multiple.py"; PythonRunner.RunFile(scriptPath); } [MenuItem("Python/Create 3D Heatmap")] static void RunPythonFile3D() { string scriptPath = Application.dataPath + @"/Depictions_Years/Scripts/Python/Heatmap_3D.py"; PythonRunner.RunFile(scriptPath); } }