Ejemplo n.º 1
0
 void OnEnable()
 {
     Instance                 = this;
     selectionProxy           = ScriptableObject.CreateInstance <EntitySelectionProxy>();
     selectionProxy.hideFlags = HideFlags.HideAndDontSave;
     filterUI                 = new ComponentTypeFilterUI(SetAllEntitiesFilter, () => WorldSelection);
     CreateSystemListView();
     CreateComponentGroupListView();
     CreateEntityListView();
     systemListView.TouchSelection();
     EditorApplication.playModeStateChanged += OnPlayModeStateChange;
 }
Ejemplo n.º 2
0
        private void OnEnable()
        {
            Instance = this;
            filterUI = new ComponentTypeFilterUI(SetAllEntitiesFilter, () => WorldSelection);

            CreateEntitySelectionProxy();
            CreateWorldPopup();
            CreateSystemListView();
            CreateComponentGroupListView();
            CreateEntityListView();

            systemListView.TouchSelection();

            EditorApplication.playModeStateChanged += OnPlayModeStateChange;
        }