Search Unity

PythonRunner.RunString() how to maintain python objects between calls?

Discussion in 'Scripting' started by AVOlight, Nov 17, 2021.

  1. AVOlight

    AVOlight

    Joined:
    Apr 15, 2014
    Posts:
    427
    Trying out "com.unity.scripting.python": "4.0.0-pre.1"
    PythonRunner.RunString()
    how does one maintain python object variables between calls?
     
    Last edited: Nov 17, 2021