// Use this for initialization void Start() { sc = GetComponent<SpiderScale>(); pc = GetComponent<PlayerControl>(); audio = GetComponent<SoundSpiderManager>(); slider.minValue = currentFoodValue; slider.maxValue = valueToNextLevel[sc.level]; }
// Use this for initialization void Start() { webCreation = GetComponent<WebCreation>(); audio = GetComponent<SoundSpiderManager>(); UpSpider(); sh = GetComponent<SpiderHidding>(); rb = GetComponent<Rigidbody2D>(); Web.MakingWebEvent += SetCanMove; tutoText.text = ""; humans = GameObject.FindGameObjectsWithTag("Human"); }