Reorganized UnityEngine namespace

Reorganized UnityEngine namespace by splitting headers into individual classes
This commit is contained in:
Jadis0x
2024-06-07 19:07:09 +03:00
parent 0d3675c8cd
commit 0b90598356
26 changed files with 311 additions and 236 deletions

View File

@@ -15,7 +15,7 @@
#include "Wrapper.h"
#include "ClientHelper.h"
#include "hooks/hooks.hpp"
#include "UnityEngine.h"
#include "UnityEngine/Engine.hpp"
#include "color.hpp"
#include "features/misc/misc.h"
#include "utils/utils.hpp"
@@ -127,7 +127,7 @@ void Run()
std::string scene = SceneName();
if (scene == std::string("Menu")) {
app::Menu* horrorMenu = UnityEngine::Object::FindObjectOfType<app::Menu>("Menu", "Horror");
app::Menu* horrorMenu = Object::FindObjectOfType<app::Menu>("Menu", "Horror");
if (!horrorMenu)
return;