void Start() { shipID = PracticeManager.NextID(); Timer PeriodicFireTimer = new Timer(); PeriodicFireTimer.Elapsed += delegate { PeriodicFire(); }; PeriodicFireTimer.Interval = BalanceData.EnemyFireRateMilliseconds; PeriodicFireTimer.Enabled = true; }
void Start() { shipID = PracticeManager.NextID(); SpriteRot = transform.rotation; }