public void AddInterfaceToGenerate(My.Namespace.InterfaceToGenerate newValue)
    {
        var component = CreateComponent <InterfaceToGenerateComponent>(TestComponentsLookup.InterfaceToGenerate);

        component.value = newValue;
        AddComponent(TestComponentsLookup.InterfaceToGenerate, component);
    }
Example #2
0
    public void ReplaceInterfaceToGenerate(My.Namespace.InterfaceToGenerate newValue)
    {
        var index     = TestComponentsLookup.InterfaceToGenerate;
        var component = CreateComponent <InterfaceToGenerateComponent>(index);

        component.value = newValue;
        ReplaceComponent(index, component);
    }
Example #3
0
    public void AddInterfaceToGenerate(My.Namespace.InterfaceToGenerate newValue)
    {
        var index     = TestComponentsLookup.InterfaceToGenerate;
        var component = (InterfaceToGenerateComponent)CreateComponent(index, typeof(InterfaceToGenerateComponent));

        component.value = newValue;
        AddComponent(index, component);
    }