setup for esle player
This commit is contained in:
@@ -36,7 +36,7 @@ namespace PerfectWorld.Scripts.Player
|
||||
|
||||
public void Init(RoleInfo roleInfo, info_player_1 Info)
|
||||
{
|
||||
|
||||
SetUpPlayer();
|
||||
m_dwResFlags = (uint)PlayerResourcesReadyFlag.RESFG_ALL;
|
||||
m_pEPWorkMan = new CECEPWorkMan(this);
|
||||
m_iProfession = roleInfo.occupation;
|
||||
|
||||
@@ -30,7 +30,6 @@ public class CECUIManager : MonoSingleton<CECUIManager>
|
||||
|
||||
private void ShowUINPC(NPCINFO obj)
|
||||
{
|
||||
BMLogger.LogError("HoangDEv: ShowUINPC");
|
||||
npsUI.gameObject.SetActive(true);
|
||||
npsUI.SetText($"{obj.CurrentHealth}/{obj.MaxHealth}",obj.Name,"");
|
||||
npsUI.SetHealthImage((float)obj.CurrentHealth / (float)obj.MaxHealth);
|
||||
|
||||
Reference in New Issue
Block a user