示例#1
0
 protected override bool EvaluateConclusion()
 {
     if (!fadeConcluded && (agentComponent != null))
     {
         if (fadeToTransparency)
         {
             fadeConcluded = agentComponent.IsTransparent();
         }
         else
         {
             fadeConcluded = agentComponent.IsOpaque();
         }
     }
     if (waitTotalFade)
     {
         return(fadeStarted && fadeConcluded);
     }
     else
     {
         return(fadeStarted);
     }
 }