8,290
edits
No edit summary |
mNo edit summary |
||
Line 37: | Line 37: | ||
{ | { | ||
[Serializable] | [Serializable] | ||
public class | public class ModName_CommandListener : IPart | ||
{ | { | ||
public static readonly string CmdOne = "ModName_Cmd_One"; | public static readonly string CmdOne = "ModName_Cmd_One"; | ||
Line 79: | Line 79: | ||
{ | { | ||
// add your command listener to the player when a New Game begins | // add your command listener to the player when a New Game begins | ||
player.AddPart< | player.AddPart<ModName_CommandListener>(); | ||
} | } | ||
} | } |