private void Init(GameObject target, List <IComponent> components, EntityWindowTabs tabs) { _target = target; _entityComponents = components; _tabs = tabs; }
public static void Show(GameObject target, List <IComponent> components, EntityWindowTabs tabs = EntityWindowTabs.Blueprints | EntityWindowTabs.Components) { var window = GetWindow <BuildEntityWindow>(true, "Build Entity"); window.Init(target, components, tabs); }