public static void AlterConnegInput(this BehaviorChain chain, Action <InputNode> configure) { var node = chain.InputNode(); if (node != null) { configure(node); } }