HealthDisplay Class

Summary

Displays the PlatformerGameKit.Health.CurrentHealth and PlatformerGameKit.Health.MaximumHealth.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["HealthDisplay"] class Type type-node

Syntax

[AddComponentMenu(Strings.MenuPrefix + "Health Display")]
[PlatformerHelpUrl(typeof(HealthDisplay))]
public class HealthDisplay : MonoBehaviour

Attributes

Type Description
AddComponentMenu
PlatformerHelpUrlAttribute [Assert-Conditional] A UnityEngine.HelpURLAttribute which points to Platformer Game Kit's documentation.

Methods

Name Value Summary
Awake() void
OnValidate() void
[Editor-Only] Ensures that all fields have valid values and finds missing components nearby.