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

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

        };
    }