// Use this for initialization
    void Start()
    {
        camRipple = Camera.main.GetComponent <RippleProcessor>();



        anim     = GetComponentInChildren <Animator>();
        bossmove = GetComponent <BossMoveSpots>();
        if (health >= 50)
        {
            isBoss = true;
        }
    }
Пример #2
0
    [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.
    }