예제 #1
0
파일: EnterVk.cs 프로젝트: taboo1/arena
    // Use this for initialization
    void Start()
    {
        libraryMenu = GameObject.FindObjectOfType<LibraryMenu>();
        vkapi = VkApi.VkApiInstance;
        button.onClick.AddListener(
            delegate
            {
                InitializeGroupRequest();

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

        };
    }