Comments (4)
This should be doable with #63:
var category = Pandora.get_category(Categories.MY_CATEGORY)
var all_entities_of_category = Pandora.get_all_entities(category)
The issue with paths is that they can update, e.g. once you move items around, paths will just break. That's why I want to introduce the "reference categories by ids" approach, as it is more robust and less prone to errors.
from pandora.
hm... well I was thinking of acase when you are set and know that X path won't move... still that is good way to get it... however now question is will Categories.MY_CATEGORY
be always automatically generated ?
Also this should spare me doing this...
I mean adding items by hand, cause I want to load all ids once and store it in Autoload DataLib, it is used for quicker data/id access I store entities under IDs in Dictionary bellow...
from pandora.
@pietru2004 you can already do this for entity ids, but not categories. There is a toggle on the bottom of the category config.
from pandora.
I already use that, as you can see from screen
from pandora.
Related Issues (20)
- Instanced entity saved in .tscn via @export not persisted correctly HOT 1
- Enhance Property Configuration Process
- Array exports HOT 1
- Reference to a file outside the addons folder
- Pandora editor stuck on the loading when enabled for the first time
- Properties get wiped sometimes
- 👀 Customizable entity preview
- 🔥 Hot reloading
- Property elevation HOT 1
- Resetting entity in inspector does not clear the dropdown
- Display top categories as individual tabs
- Ability to display items as GraphEdit
- Data loss HOT 8
- Property settings persist even when property's fields lose focus HOT 1
- Array properties do not properly deserialize all types HOT 2
- Entities and Categories lose saved order after reload project
- Re-order properties
- Add right-click context menu to tree
- The path of the Icon will change when moved to another location.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pandora.