public void ShowThumb() { ThumbBlur.SetActive(true); Thumb.SetActive(true); ThumbWhite.SetActive(true); TutorialBtnReact BtnReact = Hud.GetComponent <TutorialBtnReact>(); GameObject victim = BtnReact.getVictim(); //Debug.Log(victim); Parameters Parameters = victim.GetComponent <Parameters>(); Delay = Parameters.Backfill; //backfill in seconds //Debug.Log(Delay); }
// Update is called once per frame public void OnPointerClick(PointerEventData eventData) { Thumb.SetActive(false); ThumbWhite.SetActive(false); ThumbBlur.SetActive(false); }