//bool Get_ValueReturn; public bool Get() { CheckBaseIndex(); if (IsIntergrity() == false) { //PerformanceManager.GetInstance().SetCheater(); } if ((_values1[baseIndex] ^ _zl) + (_values2[baseIndex] ^ _zl2) == 10000) { Set(true); } else if ((_values1[baseIndex] ^ _zl) + (_values2[baseIndex] ^ _zl2) == 100000) { Set(false); } else { //PerformanceManager.GetInstance().SetCheater(); } if ((_values1[baseIndex] ^ _zl) + (_values2[baseIndex] ^ _zl2) == 10000) { return(true); } else if ((_values1[baseIndex] ^ _zl) + (_values2[baseIndex] ^ _zl2) == 100000) { return(false); } else { PerformanceManager.GetInstance().SetCheater(); return(false); } /* * //Get_ValueReturn = false; * if( (_encValues[baseIndex] ^ _key2) != _values[baseIndex]) * { ++SecurityNumber.errorCount; * } * * //Get_ValueReturn = ((_values[baseIndex] ^ _key) < 0)?false:true; * _returnValue = _values[baseIndex]; * _returnKey = _key; * * //_baseKey = (Get_ValueReturn)?SecurityNumber.boolKey:-SecurityNumber.boolKey; * _baseKey = (((_values[baseIndex] ^ _key) < 0)?false:true)?SecurityNumber.boolKey:-SecurityNumber.boolKey; * _key = SecurityNumber.key; * _key2 = SecurityNumber.key2; * * _values[baseIndex] = _baseKey ^ _key; * _encValues[baseIndex] = _values[baseIndex] ^ _key2; * * SaveMoreDatas(); * * //return Get_ValueReturn; * return ((_returnValue ^ _returnKey) < 0)?false:true; */ }
void onClickLowPc(GameObject go) { PerformanceManager.GetInstance().lowPc = cbLowPc.value; }