wooshiidev / unity-folder-icons Goto Github PK
View Code? Open in Web Editor NEWLightweight Unity Utility adding coloured folders and icons to your project window
License: MIT License
Lightweight Unity Utility adding coloured folders and icons to your project window
License: MIT License
It seems only work in its original path? So when i drag the folder back , that work properly again.
Thank you for this package.
After installing this package, everything works fine, except that these warnings show up everytime I restart Unity.
A meta data file (.meta) exists but its asset 'Packages/com.wooshii.foldericons/package-lock.json' can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.
Couldn't delete Packages/com.wooshii.foldericons/package-lock.json.meta because it's in an immutable folder.
I installed this package by going to the Package Manager window > Add package from git URL... > https://github.com/WooshiiDev/Unity-Folder-Icons.git
Unity version 2020.3.30f1
Hey thanks for making this asset freely available. It's simple and easy to use.
Is it possible to change all child folder icons under a custom folder to use the same icon as the parent?
The Git url did not work for me with Unity 2023. However, downloading it manually worked just fine. Great asset btw!
Some folders do not overlap correctly.
In FolderIcons.DrawTextures on line 76 I changed
//Add small offset for correct placement
if (!isSideView)
rect.x += 3f;
}
to
//Add small offset for correct placement
if (!isSideView)
rect.x += 10f;
}
Removing this offset entirely fixed the problem.
//Add small offset for correct placement
if (!isSideView)
rect.x += 0f;
}
What is the isSideView offset for?
Edit:
isSideView seems to be for - surprise- the side view in unity.
The code checking if folder is in side view or not is this:
/// <summary>
/// Check if the current rect is the side view of folders
/// </summary>
/// <param name="rect">Current rect</param>
public static bool IsSideView(Rect rect)
{
return rect.x == 44;
}
Unfortunately I dont have time to delve deeper into why.
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.