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