Ejemplo n.º 1
0
 protected override void PerformAction(float timeStep)
 {
     base.PerformAction(timeStep);
     if ((stageComponent != null) && !fadeRequested)
     {
         if (fadeOut)
         {
             stageComponent.RequestFadeOut(new Vector3(fadeOutColor.r, fadeOutColor.g, fadeOutColor.b));
         }
         else
         {
             stageComponent.RequestFadeIn();
         }
         fadeRequested = true;
     }
 }