if(hs_get.error) {
print("There was an error getting the high score: " + hs_get.error);
if(EditorUtility.DisplayDialog(“Error!”,“There was an error getting the high score, Please try again.”,“OK”)){
Start();
}
} else {
a=hs_get.text;
load = false;
}
here is mt code, i am run correctly but while i try to export to apk it got this error, can someone help me?
Functions in the UnityEditor
namespace are only available when running within the editor. They can’t be used standalone.