void Start() { animator = GetComponent <Animator>(); movementScript = GameObject.Find("Player").GetComponent <Moving_Stage3>(); shootingScript = GameObject.Find("Main Camera").GetComponent <Shooting_Stage3>(); }
// Start is called before the first frame update void Start() { blurImage.material.SetFloat("_Size", 0); movementScript = FindObjectOfType <Moving_Stage3>(); healthScript = FindObjectOfType <HealthAndRespawn_Stage3>(); }