private void Awake() { instance = this; buttons = GetComponentsInChildren <Button>(); skillAPI = GetComponent <TecktalSkillsAPI>(); historyButtons = new List <HistoryButton>(); }
void Awake() { instance = this; skillAPI = GetComponent <TecktalSkillsAPI>(); videoLists = new VideoList[] { allVideos, featured, popular }; EmptyVideoLists(); //gameObject.SetActive(false); }
private void Start() { skillAPI = GetComponent <TecktalSkillsAPI>(); skillAPI.GetAllPublishSkillPath(OnSuccess, OnError); buttons = GetComponentsInChildren <Button>(); UpdateList(); Debug.Log("Start coroutine"); if (autoShowFirstSkill) { StartCoroutine(ShowVideos()); } }
private void Awake() { skillAPI = GetComponent <TecktalSkillsAPI>(); }