Пример #1
0
	void Start ()
	{
		// bind button events
		ShareButton.Select();
		ShareButton.onClick.AddListener(shareClicked);
		BackButton.onClick.AddListener(backClicked);

		// Init the share plugin
		var desc = new SocialDesc()
		{
			BB10_ShareSelectorUI = BB10_ShareSelectorUI,
			BB10_ShareSelectorTitle = BB10_ShareSelectorTitle,
			BB10_CloseButton = BB10_CloseButton,
			BB10_ShareSelectorBBM = BB10_ShareSelectorBBM,
			BB10_ShareSelectorFacebook = BB10_ShareSelectorFacebook,
			BB10_ShareSelectorTwitter = BB10_ShareSelectorTwitter
		};
		SocialManager.Init(desc);
	}
Пример #2
0
		public void Init(SocialDesc desc)
		{
			Debug.Log("Share not supported in this environment!");
		}
Пример #3
0
		/// <summary>
		/// Used to init the Social API
		/// </summary>
		/// <param name="desc">Social Desc</param>
		public static void Init(SocialDesc desc)
		{
			plugin.Init(desc);
		}
Пример #4
0
 public void Init(SocialDesc desc)
 {
     Debug.Log("Share not supported in this environment!");
 }
Пример #5
0
 /// <summary>
 /// Used to init the Social API
 /// </summary>
 /// <param name="desc">Social Desc</param>
 public static void Init(SocialDesc desc)
 {
     plugin.Init(desc);
 }