public void AddSomeOtherClass(ExampleContent.VisualDebugging.SomeOtherClass newValue) { var index = VisualDebugComponentsLookup.SomeOtherClass; var component = (SomeOtherClassComponent)CreateComponent(index, typeof(SomeOtherClassComponent)); #if !ENTITAS_REDUX_NO_IMPL component.value = newValue; #endif AddComponent(index, component); }