private void Awake() { cam = this.GetComponent <Camera>(); camScript = cam.GetComponent <Cam>(); poitsukka = GameObject.Find("Poitsukka"); poitsukkaPos = GameObject.Find("PoitsukkaPosition"); poitsukkaScript = poitsukka.GetComponent <Poitsukka>(); tr = transform; poitsukkaParts = poitsukka.GetComponentsInChildren <SpriteRenderer>(); a = gameObject.GetComponent <Aika>(); }
// Use this for initialization void Start() { poitsukka = GameObject.Find("Poitsukka").GetComponent <Poitsukka>(); }
// Use this for initialization void Start() { shoes = GameObject.Find("kengätInteractable").GetComponent <BoxCollider2D>(); goBack = transform.Find("goBack"); poitsukka = GameObject.Find("Poitsukka").GetComponent <Poitsukka>(); }
// Use this for initialization void Start() { poitsukka = GameObject.Find("Poitsukka").GetComponent <Poitsukka>(); textManager = FindObjectOfType <TextManager>(); }