Skip to content

Commit

Permalink
update more readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AidasPa committed Mar 15, 2021
1 parent 1b8fd06 commit ab00a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ After initializing the project you should fire up the babel file watcher with:
This will watch all `.ts` and `.u.ts` files under `src/` and compile them to `out/`.

## Decorator Documentation :book:
- `@UCLASS(BlueprintComponent?)` Shows the compiler which classes it should touch, it is **required** for all `.u.ts` classes in order to compile properly. Declared above a class declaration. The `BlueprintComponent` argument tells the compiler that this file should be loaded from UE4. Not required, but what this does is it cleans the code up a little bit.
- `@UCLASS(BlueprintComponent?)` Shows the compiler which classes it should touch, it is **required** for all `.u.ts` classes in order to compile properly. Declared above a class declaration. If set, the `BlueprintComponent` argument tells the compiler that this file should be loaded from UE4. What this does is it cleans the code up a little bit.
- `@UPROPERTY(Arg1)` Just like in c++, can accept, as of right now, only one argument: `EditAnywhere` or `VisibleAnywhere`. Declared above class fields/properties.
- `@KEYBIND(type: BindAxis, action: string)` Creates a keybinding for a method, action is your UE4 configured keybinding.
- `@KEYBIND(type: BindAction, action: string, event: IE_RELEASED | IE_PRESSED)`
Expand Down

0 comments on commit ab00a26

Please sign in to comment.