forked from akanyan/mu3-mods
add offgeki
This commit is contained in:
17
Extras/Offgeki/MU3/patch_UIPlayerInfo.cs
Normal file
17
Extras/Offgeki/MU3/patch_UIPlayerInfo.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using MU3.Util;
|
||||
|
||||
namespace MU3;
|
||||
class patch_UIPlayerInfo : UIPlayerInfo
|
||||
{
|
||||
private ANM_PLY_life _playerLife;
|
||||
extern private void orig_create();
|
||||
private new void create()
|
||||
{
|
||||
orig_create();
|
||||
|
||||
if(Singleton<Mod.State>.instance.RemovePlayerHealthUI)
|
||||
{
|
||||
_playerLife.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user