[Solved] when to use RegisterFactory

hey,

when do i use context->RegisterFactory() to register my new class ?
And when do i specify a category ?

If your class is a Component, Resource or UIElement subclass. Also, if you for some other reason want to instantiate your object by type with the CreateObject function.

Categories are for showing the component in the correct submenu in the editor.

ok thx