Пример #1
0
        // Use this for initialization
        protected override void Start()
        {
            base.Start();

            this.taskInfoController     = new PlaybackTaskInfoEventController(this.trialNumberText, this.timeLeftValText, this.taskMessageText);
            this.scoreController        = new PlaybackScoreEventController(this.scoreText, this.totalText);             // Score
            this.panelNoticeController  = new PlaybackPanelNoticeEventController(this, this.mainMenu);                  // Notice of a Panel
            this.collisionController    = new PlaybackCollisionEventController(this.collisionEffect);                   // Collision
            this.hsrCollisionController = new PlaybackHsrCollisionEventController(this.collisionEffect);                // HSR Collision
        }
 public void OnTransferredCollisionEnter(SIGVerse.Competition.CollisionType collisionType, Collision collision, float collisionVelocity, float effectScale)
 {
     base.AddDataLine(PlaybackCollisionEventController.GetDataLine(this.GetHeaderElapsedTime(), collision, collisionVelocity, effectScale));
 }
 public void OnTransferredCollisionEnter(Collision collision, float collisionVelocity, float effectScale)
 {
     this.dataLines.Add(PlaybackCollisionEventController.GetDataLine(this.GetHeaderElapsedTime(), collision, collisionVelocity, effectScale));
 }