public override void StartState()
        {
            this.GetController().GetData().actualLifePoints--;
            mainCamera = GameObject.Find ("Main Camera");
            if (mainCamera == null) {
                throw new MissingReferenceException("Na sscenie brak GameObjecr Main Camera");
            }
            cameraController=mainCamera.GetComponent<CameraController>();
            if (cameraController == null) {
                throw new MissingReferenceException("Main Camera GameObject nie posiada komponentu CameraController");
            }
            cameraController.isEnable = false;

            finishTime = Time.realtimeSinceStartup + finalCountdown;
            actualCountdown = (int)finishTime;

            bitmapText = new BitmapText ();
            bitmapText.setTextures (this.GetController().GetGuiAssets().digitsB);
            bitmapScore = new BitmapText ();
            bitmapScore.setTextures (this.GetController().GetGuiAssets().digitsB);

            boardObject = GameObject.Find ("Board");
            if (boardObject == null) {
                throw new MissingReferenceException("Scena nie posiada Board GameObject");
            }
            blockController=boardObject.GetComponent<BlockController>();
            if (blockController == null) {
                throw new MissingReferenceException("Board GameObject nie posiada komponentu BlockController");
            }

            playerObject = GameObject.Find ("Player");
            if (playerObject == null) {
                throw new MissingReferenceException("Scena nie posiada PLayer GameObject");
            }
            playerController=playerObject.GetComponent<PlayerController>();
            if (playerController == null) {
                throw new MissingReferenceException("Player GameObject nie posiada komponentu PlayerController");
            }
            blockController.TurnOff ();
            actualCountdown = (int)finishTime;

            //		playerObject.transform.position=new Vector3(0,4,0);
        }