private void Awake() { rb = GetComponent <Rigidbody>(); sphereCollider = GetComponent <SphereCollider>(); weatherControl = FindObjectOfType <WeatherControl>(); sphereCollider.radius = 0f; }
private void Awake() { weatherControl = FindObjectOfType <WeatherControl>(); }
private void Start() { weatherControl = transform.parent.GetComponent <VegetationFactory>().GetWeatherControl(); ChangeColor(); coroutine = Burn(); }