void Awake()
    {
        pUs = GetComponent <Player_PickUp>();

        gunAnim = GetComponent <Animator>();

        gunAudio = GetComponent <AudioSource>();

        canAttack = true;

        specialAbilityBar = 0;

        sAI.color = Color.blue;
    }
Example #2
0
 void Start()
 {
     pickUp = GameObject.FindObjectOfType <Player_PickUp>();
 }