docs.unity3d.com
    显示 / 隐藏目录

    Interface IDataVisual

    Interface for the component on a data visual that controls how the data visual shows ratings

    Namespace: Unity.MARS
    Syntax
    public interface IDataVisual

    Methods

    ClearRating()

    Reset the visual to show no rating

    Declaration
    void ClearRating()

    ShowRating(Single)

    Change the visual to show a given rating value.

    Declaration
    void ShowRating(float rating)
    Parameters
    Type Name Description
    Single rating

    This data's rating value from 0 to 1

    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)