Giter Site home page Giter Site logo

unity-folder-icons's Introduction

Working on some neato tools for Unity :)

Decent readme coming at some point idk...

Support my coffee addiciton if you're bored or something

unity-folder-icons's People

Contributors

wooshiidev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

unity-folder-icons's Issues

Unity has warnings after installing this package

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

Feature Request - Custom Labels

well i am working on customisable labels but i've an issue that is, the labels only align in a specific zoom level so if I change the zoom level they will start misaligning.
Screenshot from 2021-10-08 20-18-00
Screenshot from 2021-10-08 20-18-28
Screenshot from 2021-10-08 20-18-42

Change icon for child folders

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?

Git url not working

The Git url did not work for me with Unity 2023. However, downloading it manually worked just fine. Great asset btw!

Side view offset causes folder texture placement not overlap perfectly

Some folders do not overlap correctly.

image

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;
                }

This uncovered the issue:
image

Removing this offset entirely fixed the problem.

//Add small offset for correct placement
                if (!isSideView)
                    rect.x += 0f;
                }

image

What is the isSideView offset for?

Edit:

isSideView seems to be for - surprise- the side view in unity.

image

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.