public void ReplaceClassWithEntitIndexAttribute(EntitasRedux.Tests.ClassWithEntitIndexAttribute newValue) { var index = TestComponentsLookup.ClassWithEntitIndexAttribute; var component = (ClassWithEntitIndexAttributeComponent)CreateComponent(index, typeof(ClassWithEntitIndexAttributeComponent)); component.value = newValue; ReplaceComponent(index, component); }
public void AddClassWithEntitIndexAttribute(EntitasRedux.Tests.ClassWithEntitIndexAttribute newValue) { var index = TestComponentsLookup.ClassWithEntitIndexAttribute; var component = (ClassWithEntitIndexAttributeComponent)CreateComponent(index, typeof(ClassWithEntitIndexAttributeComponent)); #if !ENTITAS_REDUX_NO_IMPL component.value = newValue; #endif AddComponent(index, component); }