Advertisement
skokon

سجودي C#

Jul 25th, 2016
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class Request : MonoBehaviour {
  5.  
  6. public string url = "";
  7.  
  8.  
  9.  
  10. void OnGUI() {
  11.  
  12. if (GUI.Button(new Rect(640, 300, 120, 30), "Click me to open"))
  13. Application.OpenURL(url);
  14.  
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement