protected override void OnAddToStageComplete()
        {
            base.OnAddToStageComplete();

            motorTrackers = new MotorTracker[pj.Length];
            for (int i = 0; i < pj.Length; i++)
            {
                pj[i].SetMotorSpeed(speeds[i] * (i % 2 == 0 ? 1 : -1));

                if (stage != null)
                {
                    motorTrackers[i] = new MotorTracker(stage.audio, pj[i], Sfx.quietRollLoop);
                }
            }
        }
Beispiel #2
0
        protected override void OnAddToStageComplete()
        {
            base.OnAddToStageComplete();

            if (pj != null && stage != null)
            {
                motorTracker = new MotorTracker(stage.audio, pj, Sfx.rollUpChainLoop);
            }
        }