// Start is called before the first frame update
 void Start()
 {
     computerLIReference = FindObjectOfType <ComputerLaserInstantiater>();
     playerLIReference   = FindObjectOfType <PlayerLaserInstantiater>();
     ballhandle          = FindObjectOfType <Ball>();
     ammoCount           = 0;
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     fireTracker  = 0;
     maxLaserAmmo = 1; // used to be three changing it to 1
     ammoCount    = 0;
     playerLaserInstantiaterHandle = FindObjectOfType <PlayerLaserInstantiater>();
     ballhandle        = FindObjectOfType <Ball>();
     sceneLoaderHandle = FindObjectOfType <SceneLoader>();
 }