v21’s avatarv21’s Twitter Archive—№ 57,958

  1. …in reply to @vectorpark
    @vectorpark ah, my starting point is pretty easy - an enum I only change in a SetState, where I can fire entry & exit logic, and a switch statement in Update. this formalises that, which might be handy, but is also a bit less natural and a bit less flexible.
    1. …in reply to @v21
      @vectorpark but maybe it reduces the mental overhead, and makes nested state machines suddenly sensible?