Example #1
0
 public static void battleInvitation(string jsonString)
 {
     Debug.Log("battleInvitation");
     TGALiveSDK.instance().pluginManagerClass.CallStatic("battleInvitation", new object[]
     {
         jsonString
     });
 }
Example #2
0
 public static void start(string token, int postion)
 {
     Debug.Log("pre click");
     TGALiveSDK.instance().pluginManagerClass.CallStatic("firePlugin", new object[]
     {
         token,
         postion
     });
     Debug.Log("post click");
 }
Example #3
0
    public static void init(string jsonString)
    {
        Debug.Log("pre init");
        string text = ",\"unityVersion\":\"" + Application.unityVersion + "\"";

        jsonString = jsonString.Insert(jsonString.get_Length() - 1, text);
        TGALiveSDK.instance().pluginManagerClass.CallStatic("init", new object[]
        {
            jsonString
        });
        Debug.Log(jsonString);
    }
Example #4
0
 public static bool available()
 {
     Debug.Log("pre available");
     return(TGALiveSDK.instance().pluginManagerClass.CallStatic <bool>("available", new object[0]));
 }