Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        libraryMenu = GameObject.FindObjectOfType<LibraryMenu>();
        vkapi = VkApi.VkApiInstance;
        button.onClick.AddListener(
            delegate
            {
                InitializeGroupRequest();

            }
        );
    }
 void Awake()
 {
     vkapi = GetComponent<VkApi> ();
 }
Beispiel #3
0
 void Awake()
 {
     DontDestroyOnLoad(transform.gameObject);
     if (VkApiInstance == null)
         VkApiInstance = this;
     if(downloader==null)
     downloader = GetComponent<Downloader> ();
     vsetts=GetComponent<VkSettings>();
 }
Beispiel #4
0
    // Use this for initialization
    void Start()
    {
        vkapi=VkApi.VkApiInstance;
        vkapi.LoggedIn+=()=>
        {
            startWorkingWithVk();

        };
    }