Пример #1
0
    // Use this for initialization
    void Start()
    {
        cameraScript = GetComponentInChildren <CameraFollowPlayer>();
        Debug.Log("CameraPan>>" + cameraScript);
        camHeight = cameraScript.cameraHeight;
        Debug.Log("CameraPan>> camHeight instantiated " + camHeight);
        Bounds b = cameraScript.OrthographicBounds();

        bgDim = cameraScript.GetBackroundDim();
    }