Example #1
0
 public override void PopulateSegment(CircuitComponentEditorSegment segment, CircuitBoardDisplay displayer)
 {
     segment.Resize(1, 10);
     segment.AddInterpretter(TextInput <CustomTagDriveModule> .Quick(this, M.m((CustomTagDriveModule I) => I.CustomTag), "Custom Tag:", new ToolTip("Write the Custom Tag you want to send signals to."), delegate(CustomTagDriveModule I, string s)
     {
         I.CustomTag.Us = s;
     }));
 }
Example #2
0
 public override void PopulateSegment(CircuitComponentEditorSegment segment, CircuitBoardDisplay displayer)
 {
     segment.Resize(1, 3);
     segment.AddInterpretter(TextInput <CustomTagInput> .Quick(this, M.m((CustomTagInput I) => I.CustomTag), "Custom Tag", new ToolTip("Write the Custom Tag you want to recieve signals from."), delegate(CustomTagInput I, string s)
     {
         I.CustomTag.Us = s;
     }));
 }