Adding some tags to scene item components for the prefab tool

This commit is contained in:
2023-03-26 11:06:57 -07:00
parent f787d06713
commit 6ab9abdeba
16 changed files with 37 additions and 3 deletions

View File

@ -15,9 +15,13 @@ namespace Dawn {
glm::vec2 current = glm::vec2(0, 0);
public:
// @optional
glm::vec2 lookOffsetScale = glm::vec2(6.0f, 3.0f);
// @optional
float_t movementScrollSpeed = 0.5f;
// @optional
glm::vec3 zoomOffset = glm::vec3(0, 30.0f, 7.5f);
// @optional
PlayerController *player = nullptr;
GameCamera(SceneItem *item);

View File

@ -12,6 +12,7 @@ namespace Dawn {
CharacterController2D *characterController;
public:
// @optional
float_t moveSpeed = 80.0f;
PlayerController(SceneItem *item);