Exemplo n.º 1
0
    // Update is called once per frame
    void Update()
    {
        if (player.transform.position.x >= this.transform.position.x)
        {
            lever.active     = true;
            leverBase.active = true;

            smoothCamera.yOverwrite = 500;
            camShake.zoomOut();
        }
    }