// Use this for initialization void Start() { yr = transform.root.gameObject.GetComponent <yonlendirme> (); }
// Use this for initialization void Start() { yr = GetComponent <yonlendirme> (); }