Beispiel #1
0
 static public void Callback(string arg)
 {
     //AppliDebug.D(STR_CLASS, "Callback() " + arg);
     if (arg != null)
     {
         try
         {
             string[] args = arg.Split(',');
             if (args != null && 2 <= args.Length)
             {
                 if (string.Equals(args[0], "INIT"))
                 {
                     instance.StartCoroutine(Main.OnStart());
                 }
                 else if (string.Equals(args[0], "Interruption"))
                 {
                     Main.OnResume();
                 }
                 else if (string.Equals(args[0], "LOG"))
                 {
                     AppliDebug.D(STR_CLASS, "Callback() log : " + args[1]);
                 }
             }
         }
         catch (Exception e)
         {
             AppliDebug.W(STR_CLASS, "Callback() error : " + e);
         }
     }
 }
Beispiel #2
0
 public void LogWFromOS(string arg)
 {
     AppliDebug.W(STR_CLASS, "LogWFromOS() " + arg);
 }