How can I make an object editable in the content-browser?

You can check out this on, it’s Class specifier
https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Reference/Classes/index.html
You can add UCLASS(Blueprintable) this one will allow you to create Blueprint of this class.

Hello,

How can I create an object (UObject) that I can create instances of inside the Content Browser ?

I know about Blueprint and I use it already but I don’t want this to be an actor or to have a 3D view or a graph editor. What I need is exactly the same thing as the Slate style objects : a simple editor window with a field for each variable, so that I can configure my game from the editor.

Thanks !

You will need to create custom Asset type and custom asset factory.
You can find how I did it here:

It’s not really hard, once you get the grasp of it, but can be bit daunting at first.

This way you will create Blueprint classes inside Content Browser. But he asked about creating instances of object directly inside content browser. Something like Data Asset I guess.

oh, ok, normally i create UObject then in begin play or depend on situation i will instantiate the UObject class. For DataAsset, i’m still using class UDataAsset.

I just discovered the DataAsset class. This is wonderful. All it takes is to inherit this class and magic happens.

Here’s the result:

Thanks a lot!