getProgressIcon
代表任务、项目等进度的图标。

签名
progress是 0 到 1 之间的数字(0 表示未开始,1 表示完成)。color是 RaycastColor或颜色的十六进制表示形式。默认情况下它将是Color.Red。options.background是 RaycastColor或进度图标背景颜色的十六进制表示形式。默认情况下,如果 Raycast 的外观较暗,则为white;如果外观较亮,则为light。options.backgroundOpacity是进度图标背景的不透明度。默认情况下,该值为0.1。
返回可在 Raycast 期望的地方使用的 Image.Asset。
Example
最后更新于