// Use this for initialization protected override void Start() { // Base Start base.Start(); Gap = 1.0f; trulyVisible = false; anim = aiming.GetComponent <Animator>(); anim.enabled = false; aiming.SetActive(false); moving = true; //Get the looking point from the camera lk1 = FindObjectOfType <LookingPoint>(); lk2 = FindObjectOfType <LookingPoint2>(); rb = GetComponent <Rigidbody>(); shootingBarrel = GetComponentInChildren <ShootingBarrel>(); }