using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TTSDK;
using TMPro;
using UnityEngine.UI;
using TTSDK.UNBridgeLib.LitJson;
using System;
///
/// 抖音侧边栏
///
public class Sidebar : MonoBehaviour
{
///
/// 侧边栏领取奖励按钮
///
private Button receiveBtn;
///
/// 侧边栏关闭按钮
///
private Button closeBtn;
///
/// 是否可以领取奖励
///
private bool canReceiveReward = false;
void OnEnable()
{
receiveBtn = transform.Find("Sidebar/ReceiveBtn").GetComponent