Ejemplo n.º 1
0
 public ChangeColor(
     CompColoredLight light,
     Texture2D designatorIcon
     )
 {
     parentLight = light;
     icon = designatorIcon;
     defaultLabel = "CommandChangeColorLabel".Translate();
 }
Ejemplo n.º 2
0
 public ChangeColor(
     CompColoredLight light,
     Texture2D designatorIcon,
     bool usePicker = false
     )
 {
     parentLight    = light;
     icon           = designatorIcon;
     this.usePicker = usePicker;
     defaultLabel   = "CommandChangeColorLabel".Translate();
 }
Ejemplo n.º 3
0
 public ChangeColor(
     CompColoredLight light,
     Texture2D designatorIcon,
     bool usePicker = false
     )
 {
     parentLight = light;
     icon = designatorIcon;
     this.usePicker = usePicker;
     defaultLabel = "CommandChangeColorLabel".Translate();
 }
Ejemplo n.º 4
0
 public ChangeColor(CompColoredLight light)
 {
     parentLight  = light;
     icon         = Icon.NextButton;
     defaultLabel = "CommandChangeColorLabel".Translate();
 }
 public CommandChangeColor( CompColoredLight light )
 {
     _light = light;
     icon = Icon.NextButton;
     defaultLabel = "CommandChangeColorLabel".Translate();
 }