Is there a way to have a python variable/property that is global so that all scripts can access that information easily, like from
From Text import move
or… is there any other way to access a variable from a separate script easily?
Is there a way to have a python variable/property that is global so that all scripts can access that information easily, like from
From Text import move
or… is there any other way to access a variable from a separate script easily?
GameLogic.myProperty
(I personally like to set a variable g to GameLogic, so i just have to type g.myProperty)
Thanks!!! It works this will be really useful