Beispiel #1
0
 public static AnySDKSocial getInstance()
 {
     if( null == _instance ) {
         _instance = new AnySDKSocial();
     }
     return _instance;
 }
Beispiel #2
0
 private void Start()
 {
     this._instance = AnySDKSocial.getInstance();
     this._instance.setListener(this, "SocialExternalCall");
 }
 /**
  * 提交分数
  */
 void submitScore()
 {
     AnySDKSocial.getInstance().submitScore("1", 100);
 }
 /**
  * 显示成就榜
  */
 void showAchievements()
 {
     AnySDKSocial.getInstance().showAchievements();
 }
 /**
  * 显示排行榜
  */
 void showLeaderboard()
 {
     AnySDKSocial.getInstance().showLeaderboard("1");
 }
 void Start()
 {
     AnySDKSocial.getInstance().setListener(this, "SocialExternalCall");
 }