Beispiel #1
0
 // Use this for initialization
 protected override void Start()
 {
     _shotPosCount = 2;
     _laserTimer   = GetComponent <CLaserTimerManager>();
 }
Beispiel #2
0
 void Start()
 {
     _playerLaserPos = GameObject.FindGameObjectWithTag("Player").GetComponent <Transform>();
     _laserTimer     = GameObject.FindGameObjectWithTag("Player").GetComponent <CLaserTimerManager>();
     StartCoroutine(LaserTimer());
 }