public StateBuilder <TState, TParentBuilder> OnUpdate(Action <TState, float> action) { ContractState.SetUpdateAction(deltaTime => action(ContractState, deltaTime)); return(this); }