Class MaterialReferenceManager
Inheritance
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
Methods
|
Edit this page
View Source
AddFontAsset(TMP_FontAsset)
Declaration
public static void AddFontAsset(TMP_FontAsset fontAsset)
Parameters
|
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
|
Edit this page
View Source
AddSpriteAsset(TMP_SpriteAsset)
Declaration
public static void AddSpriteAsset(TMP_SpriteAsset spriteAsset)
Parameters
|
Edit this page
View Source
Contains(TMP_FontAsset)
Declaration
public bool Contains(TMP_FontAsset font)
Parameters
Returns
|
Edit this page
View Source
Contains(TMP_SpriteAsset)
Declaration
public bool Contains(TMP_SpriteAsset sprite)
Parameters
Returns
|
Edit this page
View Source
TryGetFontAsset(int, out TMP_FontAsset)
Declaration
public static bool TryGetFontAsset(int hashCode, out TMP_FontAsset fontAsset)
Parameters
Returns
|
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
|
Edit this page
View Source
TryGetSpriteAsset(int, out TMP_SpriteAsset)
Declaration
public static bool TryGetSpriteAsset(int hashCode, out TMP_SpriteAsset spriteAsset)
Parameters
Returns
Extension Methods