mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-23 01:39:32 +00:00
Fix bug if you change hideonui
This commit is contained in:
1 parent
3ba71d8f19
commit
64604aff98
2 files changed
+12
No files matched your search
@@ -96,6 +96,12 @@ public class ModifierDisplayComponent(nint ptr) : MonoBehaviour(ptr)
|
||||
_children.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
internal void DestroyComponent(ModifierUiComponent component)
|
||||
{
|
||||
_modifiers.Remove(component.Modifier!);
|
||||
component.gameObject.DestroyImmediate();
|
||||
}
|
||||
|
||||
[HideFromIl2Cpp]
|
||||
internal static ModifierDisplayComponent CreateDisplay()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user