void Start() { shooting = GetComponent <Shooting> (); CollectingUI.transform.parent.gameObject.SetActive(false); health = GetComponent <Health> (); collect = GetComponent <CollectSnow> (); healScript = GetComponent <HealSnowmanProximity>(); }
//ActivateCannon active; // Use this for initialization void Start() { shooting = GetComponent <Shooting> (); movement = GetComponent <Movement> (); collectSnow = GetComponent <CollectSnow> (); collectFort = GetComponent <CollectSnowFort> (); aiming = GetComponent <Aiming> (); rb = GetComponent <Rigidbody>(); heal = GetComponent <HealSnowmanProximity>(); //active = GetComponent<ActivateCannon> (); }