예제 #1
0
 private void SetCurrentLightRule(ILightRule lightRule, bool isFirstRule = false)
 {
     //进行灯光规则重置
     CurrentLightRule = lightRule;
     if (CurrentLightRule != null)
     {
         CurrentLightRule.Reset();
         CurrentLightRule.IsFirstRule = isFirstRule;
     }
 }
예제 #2
0
 public SimulationLightsRuleMessage(ILightRule ruleInfo)
 {
     RuleInfo = ruleInfo;
 }