ChatPlexSDK-BS 1.0.1-v6.2.0
C++ ChatPlex BeatSaber SDK
Loading...
Searching...
No Matches
GameFont.hpp
1#pragma once
2
3#include "../../CP_SDK/Utils/Il2cpp.hpp"
4#include "../../CP_SDK/Utils/MonoPtr.hpp"
5
6#include <UnityEngine/Material.hpp>
7#include <TMPro/TMP_FontAsset.hpp>
8
9namespace CP_SDK_BS::UI {
10
11 namespace _u
12 {
13 using namespace UnityEngine;
14 using namespace TMPro;
15 }
16
19 {
20 CP_SDK_NO_DEF_CTORS(GameFont);
21
22 private:
24 static CP_SDK::Utils::MonoPtr<_u::Material> m_BaseGameFontSharedMaterial;
25
26 public:
28 static _u::TMP_FontAsset* GetGameFont();
30 static _u::Material* GetGameFontSharedMaterial();
31
32 };
33
34}
Helpers for game font.
Definition GameFont.hpp:19
static _u::Material * GetGameFontSharedMaterial()
Get main game font curved material.
static _u::TMP_FontAsset * GetGameFont()
Get main game font.
BeatSaber specific UI compoenents and utilities.