Closed ghost closed 9 years ago
there is no safe way to get DebugUser and DebugToken. this would handy in some cases.
Or allow to access a 'GJAPI.object.user DebugUser;'
this should protect it to not work outside of editor. (with my c++ knowledge) ` get{
return DebugUser;
return "";
} `
there may be better ways to do this. (are probably)
At the moment, Manager.DebugUser and Manager.DebugToken are only created when you are inside the editor but are private. I guess I could indeed make it public if people believe it can be useful.
there is no safe way to get DebugUser and DebugToken. this would handy in some cases.
Or allow to access a 'GJAPI.object.user DebugUser;'
this should protect it to not work outside of editor. (with my c++ knowledge) ` get{
if UNITY_EDITOR
else
endif
} `
there may be better ways to do this. (are probably)