Exemple #1
0
 protected override void Init()
 {
     base.Init();
     try
     {
         TssSdk.TssSdkInit(0xa11);
         this.bInit      = true;
         this.m_LastTime = Time.time;
         Debug.Log("TssdkSys init");
     }
     catch (Exception)
     {
         this.bInit = false;
     }
 }
 protected override void Init()
 {
     base.Init();
     try
     {
         this.bEnableTSS = (PlayerPrefs.GetInt("EnableTSS", this.bEnableTSS ? 1 : 0) != 0);
         if (this.bEnableTSS)
         {
             TssSdk.TssSdkInit(2577u);
             this.bInit      = true;
             this.m_LastTime = Time.time;
             Debug.Log("TssdkSys init");
         }
     }
     catch (Exception)
     {
         this.bInit = false;
     }
 }
Exemple #3
0
 public void Intialize(uint gameId)
 {
     this.gameId = gameId;
     TssSdk.TssSdkInit(gameId);
 }
Exemple #4
0
 public static void Init()
 {
     TssSdk.TssSdkInit(2662u);
 }
 private void Start()
 {
     Debug.Log(this.tag + " Tss init");
     TssSdk.TssSdkInit(this.gameId);
     this.m_last = Time.time;
 }