unity颜色工具ColorTools v1.0
Requires Unity 4.5.2 or higher.
ColorTools is a comprehensive collection of extensions to the Unity API to make reasoning about color much more simple. Many seemingly simple tasks are actually incredibly difficult to solve with traditional RGB color systems.
* How would you randomly generate only bright, vivid colors?
* How would you figure out if two customizable player team colors are too similar?
* How do you invert a color to get one that’s totally different?
* How do you darken or lighten a color?
All of these problems are really easy to solve with HSL colors! ColorTools can seamlessly convert colours between Unity native RGB representation and a new HSL representation. It provides loads of extension methods that help simplify reasoning about color in your code.
需要5金币 或 50 积分 ( 如何获取金币与积分)
免责声明:
【1】资源来自网络,仅限于个人学习研究,请勿用于任何商业用途,请支持或购买正版,尊重版权,请严格遵守国家相关著作版权保护的法律和规则,素材下载所需金币仅为素材收集整理的辛苦费用,并不代表素材本身价值,版权归原作者或其公司所有,请下载24小时内务必删除,否则后果自负,本站不承担任何责任及连带责任!