public void ReplaceInterfaceToGenerate(EntitasRedux.Tests.InterfaceToGenerate newValue)
    {
        var index     = TestComponentsLookup.InterfaceToGenerate;
        var component = (InterfaceToGenerateComponent)CreateComponent(index, typeof(InterfaceToGenerateComponent));

        component.value = newValue;
        ReplaceComponent(index, component);
    }
コード例 #2
0
    public void AddInterfaceToGenerate(EntitasRedux.Tests.InterfaceToGenerate newValue)
    {
        var index     = TestComponentsLookup.InterfaceToGenerate;
        var component = (InterfaceToGenerateComponent)CreateComponent(index, typeof(InterfaceToGenerateComponent));

                #if !ENTITAS_REDUX_NO_IMPL
        component.value = newValue;
                #endif
        AddComponent(index, component);
    }