Ejemplo n.º 1
0
 private void Awake()
 {
     characterController = GetComponent <CharacterController>();
     charController      = GetComponent <CharController>();
     mainCam             = Camera.main;
 }
        private void Start()
        {
            CharController charController = GameMan.Instance.CharController;

            textMeshProUGUI.text = "" + charController.CurrentHealth + "/" + charController.MaxHealth;
        }