Table of Contents

Property IsAlive

Namespace
GrindFest
Assembly
GrindFest.dll

IsAlive

The hero's display name. Guarded, because a destroyed HeroController still gets asked for it: the UI holds a reference to the old hero between CleanSlate destroying it and the next one existing, and Unity throws on name for a destroyed object. Answering null lets the UI read that as "no hero yet", which is the truth at that moment.

public bool IsAlive { get; }

Property Value

bool