Пример #1
0
 private void OnMouseDown()
 {
     _rawImage = GameObject.Find("RawImage");
     _leaderboardTransition = GameObject.Find("Leaderboard Panel").GetComponent <Animator>();
     if (_rawImage == null && _leaderboardTransition.GetBool("isLeaderboardOn") == false)
     {
         EventID eventID = new EventID(this.gameObject.name);
         StartCoroutine(_gameNetwork.GetEventMetaData("https://harryspotter.eu.ngrok.io/getEventMetadata", eventID.Serialize().ToString(), GetEventMetaData));
         Debug.Log(this.gameObject.name);
     }
 }