protected State state = new State();                          // The current state of the user input

        // Use this for initialization
        void Start()
        {
            // get the transform of the main camera
            cam = Camera.main.transform;

            // get the third person character ( this should never be null due to require component )
            character = GetComponent <CharacterThirdPerson>();
        }