Exemplo n.º 1
0
    public void ReplaceCameraCreator(Project0.EntityCreator newValue)
    {
        var index     = GameComponentsLookup.CameraCreator;
        var component = CreateComponent <Project0.CameraCreatorComponent>(index);

        component.value = newValue;
        ReplaceComponent(index, component);
    }
Exemplo n.º 2
0
    public void AddPawnCreator(Project0.EntityCreator newValue)
    {
        var index     = GameComponentsLookup.PawnCreator;
        var component = CreateComponent <Project0.PawnCreatorComponent>(index);

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