0

Add Stop Event To State Units

Guy Rabiller 2 years ago 0

When stopping a State Unit node graph, an Exit State event is received in the current evaluated State node. Then it is unclear if this event happened because the State Unit has been stopped from "outside" or simply because a transition occurred internally, triggering the Exit State event inside the previous active State node.

To disambiguate the situation, it could be useful to have a Stop State event so we would know specifically if the State Unit has been stopped from "outside".

Thanks!
Guy.

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):