public void UIContextDidChange(string context) { Controller.BeginWrite(); Controller.WriteScript("--wait UI load " + context); Controller.WriteScript("coroutine.yield(WaitUILoad(\"" + context + "\"));" + Environment.NewLine); Controller.EndWriting(); }
private void DestroyWriter() { //Debug.LogError("Call DestroyWriter " + (currentInputWriter == null)); if (currentInputWriter != null) { currentInputWriter.Finish(); currentInputWriter = null; Controller.EndWriting(); } }