Custom Components

Could anyone give an simplest possible example, of implementing custom component ?

I tried to implement blank class by extending UActorComponent, but after compilation, my component doesn’t show up in component list in Blueprint editor.
I’m probably missing something and and have no idea what, as documentation doesn’t show any simple example.
It would be nice, if someone would post absolute minimum code/steps to create component that will show on component list.

I believe you need to include the BlueprintSpawnableComponent meta tag to the component class declaration.

Something like:

UCLASS(…, meta=(BlueprintSpawnableComponent) )