Skip to content

Instantly share code, notes, and snippets.

@marcosecchi
Last active April 2, 2025 08:54
Show Gist options
  • Save marcosecchi/abfbf55f7ea215277e2e927e2aaef7ad to your computer and use it in GitHub Desktop.
Save marcosecchi/abfbf55f7ea215277e2e927e2aaef7ad to your computer and use it in GitHub Desktop.
01 - Unreal Engine e C++

Unreal Engine e C++

Task 01 - Creazione di un Actor

A partire da un progetto Unreal C++, eseguire le seguenti operazioni:

  1. Creare una classe chiamata Task01Actor che derivi da Actor
  2. Nel file header aggiungere una proprietà pubblica chiamata Task01Bool di tipo bool
  3. Aggiungere la macro UPROPERTY() alla proprietà
  4. Nel file header aggiungere una funzione chiamata Task01Funct che non abbia parametri e che ritorni void
  5. Aggiungere la macro UFUNCTION() alla funzione
  6. Nel file .cpp aggiungere l'implementazione (vuota) della funzione Task01Func
  7. Aprire l'editor di Unreal Engine e compilare il progetto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment