protected override void OnProcessOutputSchema(MutableObject newSchema) { foreach (var entry in TeamIndex.GetEntries(newSchema)) { ColorTarget.SetValue( Color.magenta, entry); } Router.TransmitAllSchema(newSchema); }
protected override MutableObject Mutate(MutableObject mutable) { foreach (var entry in TeamIndex.GetEntries(mutable)) { ColorTarget.SetValue( TeamSpecificDataHider.USE_REAL_TEAM_DATA? TeamColorPalette.ColorFromIndex(TeamIndex.GetValue(entry)): ColorPalette.ColorFromIndex(TeamIndex.GetValue(entry)), entry); } return(mutable); }