13 lines
281 B
C#
13 lines
281 B
C#
using UnityEngine;
|
|
using UnityEngine.EventSystems;
|
|
|
|
public class MenuSocials : MonoBehaviour, IPointerClickHandler, IEventSystemHandler
|
|
{
|
|
public string URL;
|
|
|
|
public void OnPointerClick(PointerEventData eventData)
|
|
{
|
|
Application.OpenURL(URL);
|
|
}
|
|
}
|