Ejemplo n.º 1
0
    void OnCollisionEnter(Collision collision)
    {
        Debug.Log("Ramp: On collision entered");

        /*if (camDirector.cam1 != null)
         *      Debug.Log ("cam1: " + cameraDirector.cam1);
         * else
         *      Debug.Log ("cam1 is null");*/

        cameraDirector.switchCamera();
    }