Пример #1
0
        void Start()
        {
            shipID = PracticeManager.NextID();

            Timer PeriodicFireTimer = new Timer();

            PeriodicFireTimer.Elapsed += delegate { PeriodicFire(); };
            PeriodicFireTimer.Interval = BalanceData.EnemyFireRateMilliseconds;
            PeriodicFireTimer.Enabled  = true;
        }
Пример #2
0
 void Start()
 {
     shipID    = PracticeManager.NextID();
     SpriteRot = transform.rotation;
 }