public static void battleInvitation(string jsonString) { Debug.Log("battleInvitation"); TGALiveSDK.instance().pluginManagerClass.CallStatic("battleInvitation", new object[] { jsonString }); }
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"); }
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); }
public static bool available() { Debug.Log("pre available"); return(TGALiveSDK.instance().pluginManagerClass.CallStatic <bool>("available", new object[0])); }