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