Show / Hide Table of Contents

Class MaterialReferenceManager

Inheritance
object
MaterialReferenceManager
Namespace: TMPro
Assembly: HollowKnight.dll
Syntax
public class MaterialReferenceManager

Properties

| Edit this page View Source

instance

Declaration
public static MaterialReferenceManager instance { get; }
Property Value
Type Description
MaterialReferenceManager

Methods

| Edit this page View Source

AddFontAsset(TMP_FontAsset)

Declaration
public static void AddFontAsset(TMP_FontAsset fontAsset)
Parameters
Type Name Description
TMP_FontAsset fontAsset
| Edit this page View Source

AddFontMaterial(int, Material)

Declaration
public static void AddFontMaterial(int hashCode, Material material)
Parameters
Type Name Description
int hashCode
Material material
| Edit this page View Source

AddSpriteAsset(int, TMP_SpriteAsset)

Declaration
public static void AddSpriteAsset(int hashCode, TMP_SpriteAsset spriteAsset)
Parameters
Type Name Description
int hashCode
TMP_SpriteAsset spriteAsset
| Edit this page View Source

AddSpriteAsset(TMP_SpriteAsset)

Declaration
public static void AddSpriteAsset(TMP_SpriteAsset spriteAsset)
Parameters
Type Name Description
TMP_SpriteAsset spriteAsset
| Edit this page View Source

Contains(TMP_FontAsset)

Declaration
public bool Contains(TMP_FontAsset font)
Parameters
Type Name Description
TMP_FontAsset font
Returns
Type Description
bool
| Edit this page View Source

Contains(TMP_SpriteAsset)

Declaration
public bool Contains(TMP_SpriteAsset sprite)
Parameters
Type Name Description
TMP_SpriteAsset sprite
Returns
Type Description
bool
| Edit this page View Source

TryGetFontAsset(int, out TMP_FontAsset)

Declaration
public static bool TryGetFontAsset(int hashCode, out TMP_FontAsset fontAsset)
Parameters
Type Name Description
int hashCode
TMP_FontAsset fontAsset
Returns
Type Description
bool
| Edit this page View Source

TryGetMaterial(int, out Material)

Declaration
public static bool TryGetMaterial(int hashCode, out Material material)
Parameters
Type Name Description
int hashCode
Material material
Returns
Type Description
bool
| Edit this page View Source

TryGetSpriteAsset(int, out TMP_SpriteAsset)

Declaration
public static bool TryGetSpriteAsset(int hashCode, out TMP_SpriteAsset spriteAsset)
Parameters
Type Name Description
int hashCode
TMP_SpriteAsset spriteAsset
Returns
Type Description
bool

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾