xsduan / unity-hierarchy-folders Goto Github PK
View Code? Open in Web Editor NEWSpecialized folder objects for Unity Hierarchy.
License: MIT License
Specialized folder objects for Unity Hierarchy.
License: MIT License
"com.xsduan.heirarchy-folders" should be "com.xsduan.hierarchy-folders"
I personally have seen one on the Asset Store myself, but it was $0.99/seat and as you can tell it took me maybe 3 hours to set up their entire product plus auto pruning so it's clearly not worth paying jack for.
You value your time at less than $0.99 per 3 hours?
Perhaps this section of the readme could use some rephrasing :)
Hi,
When i'm using Hierarchy Folder for DontDestroyOnload object. It is still destroy my object when load new scene.
I think it is a bug?
Unity have warning when use folder for DontDestroyOnLoad too:
DontDestroyOnLoad only works for root GameObjects or components on root GameObjects.
unity-hierarchy-folders-master/Runtime/Folder.cs(51,70): error CS1061: Type UnityEngine.GameObject' does not contain a definition for
CanDestroy' and no extension method CanDestroy' of type
UnityEngine.GameObject' could be found. Are you missing `UnityEngine.Playables' using directive?
Unity 2018.2.13f1
Hi @xsduan,
Thanks for creating the awesome package. Would please create a github release v0.1.0
? So the package can be included in upcoming openupm registry (sneak preview), which is a service that build package directly from git tags that conform semver.
Just find it valuable to write it here, as maybe that dependency will not be need on newer versions.
Also, I really thank you for that code!
I'm attempting to install this package through the package manager via a git url in unity 2020.2.7f1.
Once it is added to the package manager I get the following errors:
GUID [9b9b359874c54b8e9968bce99b84b1cd] for asset 'Packages/com.xsduan.hierarchy-folders/Editor/Icon Handling.meta' conflicts with: 'Packages/com.xsduan.hierarchy-folders/Editor/Icons.meta' We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.
GUID [d6f29c3d38f5ea94dbfbf44facaeaaca] for asset 'Packages/com.xsduan.hierarchy-folders/Editor/Icon Handling/HierarchyFolderIcon.cs.meta' conflicts with: 'Packages/com.xsduan.hierarchy-folders/Editor/Icons/HierarchyFolderIcon.cs.meta' We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.
GUID [7b9019de4b525b349a48678a64d7983a] for asset 'Packages/com.xsduan.hierarchy-folders/Editor/Icon Handling/ReplaceColor Shader.shader.meta' conflicts with: 'Packages/com.xsduan.hierarchy-folders/Editor/Icons/ReplaceColor Shader.shader.meta' We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.
There appears to be an error here for each file in the Editor folder of this package.
Is there something I am doing wrong to import this? or perhaps the meta files need to be updated on the repo since the last update?
Let me know how to proceed. Thanks!
Just wanted to share with you and others who use the package that Unity considers adding hierarchy folders as a built-in feature. You can tell Unity why it is important for your case and probably raise the priority of the feature here: https://portal.productboard.com/ca1chnbwvzw1eg5yjc5rijnj/c/392-hierarchy-folders
i just removed the EditorOnly tag (in the OnEnable method) and in the scene and now all my objects are there again.
with the EditorOnly tag on the folder objects my build was an nearly empty world
Script 'Packages/com.xsduan.hierarchy-folders/Runtime/Folder.cs' will not be compiled because it exists outside the Assets folder and does not to belong to any assembly definition file. UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:CompileScripts(EditorScriptCompilationOptions, BuildTargetGroup, BuildTarget)
Icon name has changed
Solution:
private const string _openedFolderPrefix = "d_FolderOpened";
private const string _closedFolderPrefix = "d_Folder";
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.