50 lines
814 B
C#
50 lines
814 B
C#
|
|
using System;
|
||
|
|
using UnityEngine;
|
||
|
|
using UnityEngine.UI;
|
||
|
|
using QFramework;
|
||
|
|
|
||
|
|
namespace QFramework.Example
|
||
|
|
{
|
||
|
|
// Generate Id:19c80d13-0572-47c6-96be-671136573ea8
|
||
|
|
public partial class UIPointQuestion
|
||
|
|
{
|
||
|
|
public const string Name = "UIPointQuestion";
|
||
|
|
|
||
|
|
[SerializeField]
|
||
|
|
public UnityEngine.UI.Button PointPrefab;
|
||
|
|
[SerializeField]
|
||
|
|
public RectTransform Content;
|
||
|
|
|
||
|
|
private UIPointQuestionData mPrivateData = null;
|
||
|
|
|
||
|
|
protected override void ClearUIComponents()
|
||
|
|
{
|
||
|
|
PointPrefab = null;
|
||
|
|
Content = null;
|
||
|
|
|
||
|
|
mData = null;
|
||
|
|
}
|
||
|
|
|
||
|
|
public UIPointQuestionData Data
|
||
|
|
{
|
||
|
|
get
|
||
|
|
{
|
||
|
|
return mData;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
UIPointQuestionData mData
|
||
|
|
{
|
||
|
|
get
|
||
|
|
{
|
||
|
|
return mPrivateData ?? (mPrivateData = new UIPointQuestionData());
|
||
|
|
}
|
||
|
|
set
|
||
|
|
{
|
||
|
|
mUIData = value;
|
||
|
|
mPrivateData = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|