@dcl/ecs
Version:
Decentraland ECS
17 lines (16 loc) • 384 B
JavaScript
import { InputModifier } from '../generated/index.gen';
const InputModifierHelper = {
Standard(standard) {
return {
$case: 'standard',
standard
};
}
};
export function defineInputModifierComponent(engine) {
const theComponent = InputModifier(engine);
return {
...theComponent,
Mode: InputModifierHelper
};
}