Added relative path entity fetching

This commit is contained in:
Antoine Pilote
2024-04-20 12:50:16 -04:00
parent 512cb3336c
commit efbf45c5a8
4 changed files with 83 additions and 8 deletions

View File

@@ -152,8 +152,6 @@ namespace Nuake {
int EntityGetEntity(int handle, Coral::String input)
{
std::string path = input;
Ref<Scene> scene = Engine::GetCurrentScene();
if (String::BeginsWith(input, "/"))
{