static CodingImplementaion() { //Arrange baseController = new CodingController { Request = new HttpRequestMessage(), Configuration = new HttpConfiguration() }; }
void Update() { if (frameDelay-- <= 0) { frameDelay = 30; } else { return; } if (encodingText != null) { destinationText.text = CodingController.Encode(encodingText); } if (decodingText != null) { try { destinationText.text = CodingController.Decode(decodingText); } catch { } } encodingText = decodingText = null; }