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