docs.unity.cn
    Show / Hide Table of Contents

    Class RewardData

    Contains a serializable state of a Reward.

    Inheritance
    Object
    RewardData
    Namespace: UnityEngine.GameFoundation.Data
    Syntax
    [Serializable]
    public class RewardData

    Fields

    claimedRewards

    A collection of reward item claimed during the current reward cycle. If this reward is reset, this list will be cleared.

    Declaration
    public List<ClaimedRewardData> claimedRewards
    Field Value
    Type Description
    List<ClaimedRewardData>

    key

    The unique key of the reward.

    Declaration
    public string key
    Field Value
    Type Description
    String
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 16 June 2021