j0kai / Apostle

The Apostle Engine is an in-development 2D/3D game engine. The aim for the Apostle Engine to is to be a lightweight, multi-platform tool that can be used by solo developers or small teams as an alternative to massive applications like Unreal and Unity.
Apache License 2.0
1 stars 0 forks source link

Editor add remove #18

Closed j0kai closed 11 months ago

j0kai commented 11 months ago

Added OnComponentAdded() to Scene class (as well as specializations) that perform certain actions when components are added. For example, when a CameraComponent is added, we automatically call the SetViewportSize function so that we can actually see the objects being rendered.

Currently, there is no Editor Camera so this is a temporary workaround.