22 std::string
GetDescription()
const override {
return "Entity template with components"; }
23 std::string
GetIconPath()
const override {
return "Resources/Icons/entity_prefab.png"; }
ComponentTypeID GetComponentTypeID_Static()
BlueprintEditorPlugin - Base interface for blueprint type plugins Each plugin handles a specific blue...
void RenderEditor(nlohmann::json &blueprintData, EditorContext_st &ctx) override
std::string GetIconPath() const override
nlohmann::json CreateNew(const std::string &name) override
virtual ~EntityPrefabEditorPlugin()
bool CanHandle(const nlohmann::json &blueprint) const override
void RenderProperties(const nlohmann::json &blueprintData) override
void AddComponentToBlueprint(nlohmann::json &blueprintData, const std::string &type)
std::string GetDisplayName() const override
EntityPrefabEditorPlugin()
std::string GetBlueprintType() const override
std::string GetDescription() const override
std::vector< std::string > GetAvailableComponentTypes()
void RenderToolbar(nlohmann::json &blueprintData) override
std::vector< ValidationError > Validate(const nlohmann::json &blueprint) override
std::string GetCurrentTimestamp()
void RenderComponentPropertiesEditor(nlohmann::json &properties, EditorContext_st &ctx)
std::string GetDefaultFolder() const override