public string GetPasswordFromLoginData() { string strdata; FileAESCrypter.DecryptFromFile(out strdata, loginDataFilePath); NCMBLoginData logindata = JsonUtility.FromJson <NCMBLoginData>(strdata); return(logindata.password); }
public void AutoLogin(EventHandler successEventHandler = null, EventHandler failureEventHandler = null) { string strdata; FileAESCrypter.DecryptFromFile(out strdata, loginDataFilePath); NCMBLoginData logindata = JsonUtility.FromJson <NCMBLoginData>(strdata); Login(logindata.userName, logindata.password, successEventHandler, failureEventHandler); }