<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />

Menu

</aside>

Frostbyte’s Unreal Documentation

Intro

FAQ

Getting Started

Blueprint Principals

Blueprint Conventions

Folder Structure

Core Blueprints

Base Player Controller

Base HUD and GUI

Established systems

Doors

Debugging Tools

Better Print String

Links

References

Misc

Base template page

<aside> 💡

Naming conventions and encapsulation theory are stated here.

</aside>

Follow the official Unreal Engine Style Guide for an in-depth guide on naming conventions.

Variable prefixes

This will differ based off their protection level and other factors.

Variable factors Prefix Additional Notes
Public CamelCase
Private _camelCase
Private & instance editable camelCase This is due the the “_” shifting the variable name over in the details panel
• This goes for data assets too

<aside> ❗

Always make variables private when possible! If variables are needed elsewhere, the following section will explain a solution.

</aside>


Getters

Create getters when private variables must be accessed by external classes or children.

<aside> 💡

Getters are also useful for returning repetitive information, not just one variable.

image.png

</aside>

Setters

Create setters when private variables must be modified with additional safeguarding

<aside> 💡

Setters handle repetitive code before setting a variable.

image.png

</aside>


Continue to Folder Structure