Optimisation: switched from using Linq Any() to Count > 0
Optimisation: switched from using Linq Any() to Count > 0

Switched from Linq Any() to Count > 0 for checking whether there are any active children in State. This is better because State.activeChildren is already a Stack, which means that accessing its Count does not require any memory allocation.
Real-Serious-Games/Fluent-State-Machine,RoryDungan/Fluent-State-Machine