void Start() { position = transform.position; gpb = GameObject.Find("progress_bar"); scriptPB = (scr_progresse_bar)gpb.GetComponent(typeof(scr_progresse_bar)); go = GameObject.Find("dwarf_character"); scriptsc = (scr_score)go.GetComponent(typeof(scr_score)); }
void Start() { position = transform.position; go = GameObject.Find("dwarf_character"); gh = GameObject.Find("Character1_Hips"); gpb = GameObject.Find("progress_bar"); scriptPB = (scr_progresse_bar)gpb.GetComponent(typeof(scr_progresse_bar)); scriptsc = (scr_score)go.GetComponent(typeof(scr_score)); script = (scr_mouvement)go.GetComponent(typeof(scr_mouvement)); scriptH = (scr_dwarf_height)gh.GetComponent(typeof(scr_dwarf_height)); }
void Start() { go = GameObject.Find("dwarf_character"); script = (scr_score)go.GetComponent(typeof(scr_score)); }
void Start() { pauseButton.onClick.AddListener(click); gd = GameObject.Find("dwarf_character"); scriptD = (scr_score)gd.GetComponent(typeof(scr_score)); }
void Start() { animator = GetComponent <Animator>(); go = GameObject.Find("dwarf_character"); scriptsc = (scr_score)go.GetComponent(typeof(scr_score)); }