Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| en:toolworks:docs:apparatus:mechanical [2021/06/11 09:12] – vladius | en:toolworks:docs:apparatus:mechanical [2021/06/18 19:23] (current) – vladius | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| - Click " | - Click " | ||
| - The new class gets created as a combo of its header (.h) and a source file (.cpp). All in the Source (sub)folder of your project. You should now see them in the IDE of your choice:{{ : | - The new class gets created as a combo of its header (.h) and a source file (.cpp). All in the Source (sub)folder of your project. You should now see them in the IDE of your choice:{{ : | ||
| - | - Note that you may have to recompile the project and/or restart the Editor after that. Don't be scared by some possible errors here, regenerate the IDE project, rebuild and start again. | + | - Note that you may have to recompile the project and/or restart the Editor after that. Don't be scared by some possible errors here, regenerate the IDE project, rebuild and start again.{{ : |
| - The corresponding file contents should be as: | - The corresponding file contents should be as: | ||
| * '' | * '' | ||
| Line 27: | Line 27: | ||
| */ | */ | ||
| UCLASS() | UCLASS() | ||
| - | class APPARATUSMARK_API | + | class MY_API |
| { | { | ||
| GENERATED_BODY() | GENERATED_BODY() | ||
| Line 39: | Line 39: | ||
| #include " | #include " | ||
| </ | </ | ||
| - | - Now you can override | + | - Now you can override |
| * ... in the header:< | * ... in the header:< | ||
| void Tick(float DeltaTime) override; | void Tick(float DeltaTime) override; | ||
| Line 49: | Line 49: | ||
| } | } | ||
| </ | </ | ||
| + | - Proceed creating a [[en: | ||