public static RenderEndCommandExecutor GetCommandExecutor(this IMGUILayoutRoot self) { if (self.RenderEndCommandExecutor == null) { self.RenderEndCommandExecutor = new RenderEndCommandExecutor(); } return(self.RenderEndCommandExecutor); }
public static IMGUILayout GetLayout(this IMGUILayoutRoot self) { if (self.Layout == null) { self.Layout = new VerticalLayout(); } return(self.Layout); }
public static void ExecuteRenderEndCommand(this IMGUILayoutRoot self) { self.GetCommandExecutor().Execute(); }
public static void PushRenderEndCommand(this IMGUILayoutRoot self, Action command) { self.GetCommandExecutor().Push(command); }
public static void RemoveChild(this IMGUILayoutRoot self, IMGUIView child) { self.GetLayout().RemoveChild(child); }