@@ -30,7 +30,7 @@ public EMResetPointsUnitDescriptor(EMResetPointsUnit target) : base(target)
3030 protected override string DefinedSummary ( )
3131 {
3232 return "This node takes an incoming point value and pulses values to that can be used to simulate the resetting of a score reel. "
33- + "For example, an incoming point value of 2041 will provide the following pulses: 3052, 4063, 5074, 6085, 7096, 8007, 9008, 0009, 0000" ;
33+ + "\n \n For example, an incoming point value of 2041 will provide the following pulses: 3052, 4063, 5074, 6085, 7096, 8007, 9008, 0009, 0000" ;
3434 }
3535
3636 protected override EditorTexture DefinedIcon ( ) => EditorTexture . Single ( Unity . Editor . Icons . Mech ( Unity . Editor . IconSize . Large , Unity . Editor . IconColor . Orange ) ) ;
@@ -40,6 +40,29 @@ protected override void DefinedPort(IUnitPort port, UnitPortDescription desc)
4040 base . DefinedPort ( port , desc ) ;
4141
4242 switch ( port . key ) {
43+ case nameof ( EMResetPointsUnit . pointValue ) :
44+ desc . summary = "The starting points value used to seed the reset sequence." ;
45+ break ;
46+
47+ case nameof ( EMResetPointsUnit . duration ) :
48+ desc . summary = "The amount of time (in ms) the score motor runs." ;
49+ break ;
50+
51+ case nameof ( EMResetPointsUnit . started ) :
52+ desc . summary = "Triggered when score motor starts." ;
53+ break ;
54+
55+ case nameof ( EMResetPointsUnit . stopped ) :
56+ desc . summary = "Triggered when score motor finishes." ;
57+ break ;
58+
59+ case nameof ( EMResetPointsUnit . pulse ) :
60+ desc . summary = "Triggered during each pulse of the score motor." ;
61+ break ;
62+
63+ case nameof ( EMResetPointsUnit . OutputPointValue ) :
64+ desc . summary = "The current pulses calculated points value that can be used to update a score reel." ;
65+ break ;
4366 }
4467 }
4568 }
0 commit comments