// Update is called once per frame
    void Update()
    {
        if(player == null) {
            player = GameObject.Find("Player");
            playerTargettingControl = player.GetComponent<TargettingControl>();
        }

        if( Input.GetKeyDown( KeyCode.Alpha1 ) ) {
            DoToolbar(1);
        }
    }
 // Use this for initialization
 void Start()
 {
     character_controller = this.GetComponent<CharacterController>();
     playerTargettingControl = this.GetComponent<TargettingControl>();
 }