Example #1
0
    //----------

    private void Start()
    {
        ammoCounter = FindObjectOfType <AmmoCounterScript>();
    }
Example #2
0
 void Start()
 {
     shootCooldown = 0f;
     ammoCounter   = FindObjectOfType <AmmoCounterScript>();
 }