Comments (3)
I've also put together an incredibly quick and very rough idea of how this might work.
https://github.com/EitanElbaz/giles/branches
If you check out the "resource_browser_categories" branch on my fork you'll be able to see it in action. The classes probably don't have the most suitable of names.
Notes about changes:
All new classes/changes live in "Assets/GILES/Code/Categorisation - EE" to make them easier to find.
Basic overview of the resource tree structure:
Tree
{
Categories : [
0: {
name : "category name"
prefabs: [
0: {
name : "some name",
prefab : <GameObject>
}
]
}
]
}
pb_PrefabBrowser Changes:
Added another public variable - "resourceTree".
On the LevelEditor scene... Canvas -> Prefab Browser -> Scroll Rect -> Panel
You'll see a the new variable populated with a pb_ResourceTree asset.
The visual changes were added simply to illustrate the categorization. You can't miss them when you hit play
from giles.
I think this would require some changes to how objects are saved and loaded, which is something I'd like to avoid. Categories are definitely something we want to add, though I think the current plan is to do so via "tags". This way there aren't any major changes to the way prefabs are saved or loaded, and the category can be stored in pb_MetaDataComponent
. This also has the benefit of allowing objects to belong to more than one category.
from giles.
That sounds incredibly sensible
from giles.
Related Issues (20)
- [Feature] allow overriding engine class names in the inspector
- Huge File Sizes HOT 8
- Touch input HOT 3
- Unity 5.4.0 beta API update causing error
- OutOfMemory error while saving HOT 6
- ObjectRaycast distance algorithm does not scale back
- Dynamic keyword requires `System.Runtime.CompilerServices.DynamicAttribute' to be defined HOT 13
- preview prefabs in the Resource Browser window
- InvalidOperationException: Current error context error is different to requested error. HOT 4
- UnassignedReferenceException when Child objects have components with unassigned Transform HOT 1
- Some shaders are missing.
- Non-uniform scale should be the exception rather than the rule
- Textures missing
- What about AssetBundle?
- [Features]What I wont to add until the end of 2020. HOT 9
- I want to use timeline in giles
- Is GILES still there on Asset store?
- Unsupported code HOT 3
- Use Giles in my project HOT 1
- Really cool project, only one question
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 giles.