// Use this for initialization void Start() { camRipple = Camera.main.GetComponent <RippleProcessor>(); anim = GetComponentInChildren <Animator>(); bossmove = GetComponent <BossMoveSpots>(); if (health >= 50) { isBoss = true; } }
[SerializeField] private Transform respawnPoint; // This is how I tell the script where my repsawn position should be, null was added to remove errors. private void Start() { cameraRipple = Camera.main.GetComponent <RippleProcessor>(); // This is how I communicate to my ripple effect script. }