コード例 #1
0
 private void GlowingWheelsFront_OnExecute(TimedEvent timedEvent)
 {
     if (timedEvent.FirstExecution)
     {
         SetupFrontWheelsPTFXs("des_bigjobdrill", "ent_ray_big_drill_start_sparks", new Vector3(0, -0.3f, 0), new Vector3(0, 90f, 0), 1f, true);
         SetupFrontWheelsPTFXs("veh_impexp_rocket", "veh_rocket_boost", new Vector3(0.2f, 0, 0), new Vector3(0, 0, 90f), 2.5f);
     }
 }
コード例 #2
0
 private void TrainExplosion_OnExecute(TimedEvent timedEvent)
 {
     if (timedEvent.FirstExecution)
     {
         tRogersSierra.Explode();
         End();
     }
 }
コード例 #3
0
 private void WheelieUp_OnExecute(TimedEvent timedEvent)
 {
     if (timedEvent.FirstExecution)
     {
         //tRogersSierra.DeLoreanWheelie = RogersSierra.Commons.AnimationStep.First;
         SetupRearWheelsPTFXs("des_bigjobdrill", "ent_ray_big_drill_start_sparks", new Vector3(0, -0.3f, 0), new Vector3(0, 90f, 0), 1f, true);
         SetupRearWheelsPTFXs("veh_impexp_rocket", "veh_rocket_boost", new Vector3(0.2f, 0, 0), new Vector3(0, 0, 90f), 2.5f);
     }
 }
コード例 #4
0
 public int IndexOf(TimedEvent timedEvent) => _timedEvents.IndexOf(timedEvent);
コード例 #5
0
 private void WheelieDown_OnExecute(TimedEvent timedEvent)
 {
     //if (timedEvent.FirstExecution)
     //    tRogersSierra.DeLoreanWheelie = RogersSierra.Commons.AnimationStep.Second;
 }