Skip to main content

PlayingToSpiritTransition

A class in Root.Township, Alta.PlayerStates.

Moves a player from Playing to Spirit when their unlock manager gains a current unlock.

Constructors​

MemberWhat it is
PlayingToSpiritTransition()Creates a PlayingToSpiritTransition with default values.

Methods​

MemberWhat it is
protected override void AddListeners()Listens for unlock manager changes.
protected override void RemoveListeners()Meant to stop listening, but it subscribes Check again instead of removing it.
1 private and internal method
MemberWhat it is
private void Check()Switches to Spirit if there is a current unlock and the player is not already a spirit.

Used in​

Members of other types that take, return or hold a PlayingToSpiritTransition: