void Awake() { playerHUD = gameObject.GetComponent<PlayerHUD>(); thisPlayerInfo = gameObject.GetComponent<BasePlayerInfo>(); playerFaint = gameObject.GetComponent<PlayerFaint>(); playerCamera = gameObject.GetComponent<PlayerCamera>(); UpdateHealthText (); }
void Awake() { playerFaint = gameObject.GetComponent<PlayerFaint>(); playerHealth = gameObject.GetComponent<PlayerHealth>(); modelChanger = gameObject.GetComponent<PlayerModelChanger>(); }