Example #1
0
 void Start()
 {
     ammoui2              = GetComponent <AmmoCountUI2>();
     ammoui               = GetComponent <AmmoCountUI>();
     switchGun            = GetComponent <SwitchGun>();
     pistolScript         = GetComponent <PistolAndroid>();
     rifle                = GetComponent <RifleAndroid>();
     fivereload.enabled   = true;
     fiveshot.enabled     = true;
     pistolScript.enabled = true;
     ammoui.enabled       = true;
     text1.SetActive(true);
 }
Example #2
0
 void Awake()
 {
     pistol = GetComponent <PistolAndroid>();
 }