Пример #1
0
 // Use this for initialization
 void Start()
 {
     print("api test runs....");
     StartCoroutine(APICall.Call("me", "photos", null, (callback) => {
         print(callback);
     }));
 }
Пример #2
0
 void Start()
 {
     MainCamera     = GameObject.FindGameObjectWithTag("MainCamera");
     Player         = GameObject.FindGameObjectWithTag("Player");
     LCD_Collection = GameObject.FindGameObjectsWithTag("LCD");
     CaptionBox     = GameObject.FindGameObjectWithTag("Caption_Box");
     print(LCD_Collection.Length);
     LCD_Full = GameObject.FindGameObjectWithTag("LCD_Full");
     Helper.setLCDVisibility(LCD_Full, false);
     StartCoroutine(APICall.Call(userID, "photos", null, Process));
 }