void Start() { GameObject juppyObjekt = GameObject.FindGameObjectsWithTag("Juppy")[0]; juppy = juppyObjekt.GetComponent <Juppy>(); juppyTransform = juppy.GetComponent <Transform>(); }
void Start() { text = this.GetComponent <Text>(); juppy = GameObject.FindGameObjectsWithTag("Juppy")[0].GetComponent <Juppy>(); }