Click or drag to resize

RatingPicker Class

A rating picker/display widget.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Kit.UI.WidgetsRatingPicker

Namespace:  Kit.UI.Widgets
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public class RatingPicker : MonoBehaviour
Request Example View Source

The RatingPicker type exposes the following members.

Properties
  NameDescription
Public propertyAllowHalf
Whether to allow half-point ratings.
Public propertyHalfSprite
The Sprite to use for half a point of rating.
Public propertyHighlightedColor
The color of buttons when they're highlighted.
Public propertyIsReadonly
Whether to allow to pick a rating or just display it.
Public propertyMaxRating
Get or set the maximum rating you can pick or show.
Public propertyOneSprite
The Sprite to use for a full point of rating.
Public propertyPressedColor
The color of buttons when they're pressed.
Public propertyRating
Get or set the current rating.
Public propertyZeroSprite
The Sprite to use for a zero point of rating.
Top
Extension Methods
  NameDescription
Public Extension MethodDestroy
Destroy the object.
(Defined by UnityObjectExtensions.)
Public Extension MethodDisable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodEnable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodGetBounds

Returns the bounds of the Component.

(Defined by ComponentExtensions.)
Public Extension MethodIsPrefab
Returns whether the Component is a part of a prefab.
(Defined by ComponentExtensions.)
Top
See Also