/// <summary>Draws the Inspector for the given `state`.</summary> private void DoStateGUI(AnimancerState state, IAnimancerComponent owner) { IAnimancerNodeDrawer Inspector; if (!StateInspectors.TryGetValue(state, out Inspector)) { Inspector = state.GetDrawer(); StateInspectors.Add(state, Inspector); } Inspector.DoGUI(owner); DoChildStatesGUI(state, owner); }