// Start is called before the first frame update
 void Start()
 {
     playerRef          = GameObject.FindGameObjectWithTag("Player").transform;
     lastPlayerPosition = playerRef.position.y;
     followTarget       = GetComponent <Camera>().ViewportToWorldPoint(new Vector3(0.5f, followLine, Z_POS));
     Catformer.PlayerScript script = playerRef.GetComponent <Catformer.PlayerScript>();
     if (script != null)
     {
         script.AddDeathListener(OnPlayerDeathTrigger);
     }
 }
 // Start is called before the first frame update
 void Start()
 {
     background = GetComponent <Image>();
     playerRef  = GameObject.FindGameObjectWithTag("Player").GetComponent <Catformer.PlayerScript>();
     playerRef.AddDeathListener(OnPlayerDeathTrigger);
 }