File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ protected override void Definition()
5656 InputTrigger = ControlInput ( nameof ( InputTrigger ) , Process ) ;
5757 OutputTrigger = ControlOutput ( nameof ( OutputTrigger ) ) ;
5858
59- LightGroup = ValueInput < LightGroupComponent > ( nameof ( LightGroup ) ) ;
59+ LightGroup = ValueInput < LightGroupComponent > ( nameof ( LightGroup ) , null ) ;
6060
6161 Value = ValueInput < float > ( nameof ( Value ) , 0 ) ;
6262 ColorChannel = ValueInput ( nameof ( ColorChannel ) , Engine . Math . ColorChannel . Alpha ) ;
Original file line number Diff line number Diff line change @@ -46,16 +46,14 @@ public class SetLightUnit : GleUnit
4646 [ PortLabel ( "Color Channel" ) ]
4747 public ValueInput ColorChannel ;
4848
49- private Player _player ;
50-
5149 protected override void Definition ( )
5250 {
5351 InputTrigger = ControlInput ( nameof ( InputTrigger ) , Process ) ;
5452 OutputTrigger = ControlOutput ( nameof ( OutputTrigger ) ) ;
5553
5654 LampComponent = ValueInput < Object > ( nameof ( LampComponent ) , null ) ;
5755
58- Value = ValueInput < float > ( nameof ( Value ) , 0f ) ;
56+ Value = ValueInput ( nameof ( Value ) , 0f ) ;
5957 ColorChannel = ValueInput ( nameof ( ColorChannel ) , Engine . Math . ColorChannel . Alpha ) ;
6058
6159 Requirement ( LampComponent , InputTrigger ) ;
You can’t perform that action at this time.
0 commit comments