// Start is called before the first frame update.
    void Start()
    {
        mouseController  = GetComponentInParent(typeof(FirstPersonMouseLookController)) as FirstPersonMouseLookController; // Get the mouse controller script.
        bulletController = transform.parent.GetComponentInChildren <RaycastBulletController>();

        SwitchGun(currentGunIndex);
    }
    // Start is called before the first frame update.
    void Start()
    {
        // Get all four crosshair reticles.
        top         = this.gameObject.transform.GetChild(0).GetComponent <RectTransform>();
        right       = this.gameObject.transform.GetChild(1).GetComponent <RectTransform>();
        bottom      = this.gameObject.transform.GetChild(2).GetComponent <RectTransform>();
        left        = this.gameObject.transform.GetChild(3).GetComponent <RectTransform>();
        interaction = this.gameObject.transform.GetChild(4).GetComponent <Image>();

        bulletController = player.GetComponentInChildren <RaycastBulletController>(); // Get the raycast bullet controller so we can get spread values.

        interaction.fillClockwise = false;
    }