void Start()
    {
        if (gunControl == null)
        {
            gunControl = ScoreKeeper.playerAlive.GetComponent <ForwardFiring>();
        }


        gunControl.WeaponSwitch(0);
        RefreshList();
        weaponList.value = 0;


        // RefreshList();
    }
 void InitUI()
 {
     if (gamecontrols == null)
     {
         gamecontrols = this;
     }
     if (MainGunCamera == null)
     {
         MainGunCamera = GameObject.FindGameObjectWithTag("CameraControl").GetComponent <GunCamera>();
     }
     if (FireControlScript == null)
     {
         FireControlScript = GameObject.FindGameObjectWithTag("FireControlScript").GetComponent <ForwardFiring>();
     }
     //  if (mainPlayer == null)
     //      mainPlayer = GameObject.FindGameObjectWithTag("Player").GetComponent<PlayerControllerAlpha>();
     if (Fold == null)
     {
         Fold = GameObject.FindGameObjectWithTag("FoldDrive").GetComponent <JumpFold>();
     }
 }
 void Start()
 {
     fc = MobileUI.gamecontrols.FireControlScript;
 }