3#include "../Utils/Delegate.hpp"
4#include "../Utils/Il2cpp.hpp"
5#include "../Utils/MonoPtr.hpp"
7#include <TMPro/TMP_FontAsset.hpp>
8#include <UnityEngine/AssetBundle.hpp>
14 using namespace TMPro;
15 using namespace UnityEngine;
27 using t_AssetBundle_LoadFromMemory = function_ptr_t<_u::AssetBundle*, ::Array<uint8_t>*,
unsigned int>;
30 static bool m_IsInitialized;
38 static bool IsInitialized() {
return m_IsInitialized; }
39 static std::u16string_view MainFontName() {
return u
"Segoe UI"; }
40 static std::u16string_view ChatFontName() {
return u
"Segoe UI"; }
Open type to TextMeshPro font manager.
static void Setup(_v::CFuncRef< _u::TMP_FontAsset *, _u::TMP_FontAsset * > p_TMPFontAssetSetup)
Setup for specific app.
static _u::TMP_FontAsset * GetChatFont()
Get chat font.
static _u::TMP_FontAsset * GetMainFont()
Get main font.
static void Init()
Init the font manager.
Tools and extensions to interact with Unity on different layer & threads, load fonts/sprites/textures...
Various platform utils like Delegate/Action/Function/Event system.