forked from akanyan/mu3-mods
18 lines
358 B
C#
18 lines
358 B
C#
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);
|
|
}
|
|
}
|
|
}
|