private void FixedUpdate()
 {           //foreach (string test in Input.GetJoystickNames()){
             //	Debug.Log(test);
             //}
     if (!lock_player_value)
     {
         fishMove();
         aim();
         harpoon();
         gather();
         obstruction();
         if (inside_jellyman_base)
         {
             if (Input.GetButtonDown("ButtonY_2"))
             {
                 //Debug.Log("button y pressed");
                 base_Manager.update_unit();
                 base_Manager.display_option();
             }
             if (Input.GetButtonDown("ButtonB_2"))
             {
                 //Debug.Log("button b pressed");
                 base_Manager.echange_wepaon();
                 base_Manager.display_option();
             }
         }
         compteurTir -= Time.fixedDeltaTime;
         is_alive();
     }
 }
 private void FixedUpdate()
 {
     if (!lock_player_value)
     {
         shipMove();
         aim();
         harpoon();
         obstruction();
         hameconMove();
         if (inside_human_base)
         {
             if (Input.GetButtonDown("ButtonY_1"))
             {
                 Debug.Log("button y pressed");
                 base_Manager.update_unit();
                 base_Manager.display_option();
             }
             if (Input.GetButtonDown("ButtonB_1"))
             {
                 Debug.Log("button b pressed");
                 base_Manager.echange_wepaon();
                 base_Manager.display_option();
             }
         }
         compteurTir -= Time.fixedDeltaTime;
         is_alive();
     }
 }