24 lines
557 B
C#
24 lines
557 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using Module.Log;
|
|
|
|
public class MissionGetPathItem : UIItemSelect {
|
|
|
|
public Text btnDesc;
|
|
|
|
public override void Show(Hashtable hash)
|
|
{
|
|
MissionItemGetPath.MissionGetPathData info = hash["InitObj"] as MissionItemGetPath.MissionGetPathData;
|
|
if(info == null)
|
|
{
|
|
LogModule.ErrorLog("Wrong type in MissionGetPathItem");
|
|
}
|
|
else
|
|
{
|
|
btnDesc.text = info.btnDesc;
|
|
}
|
|
}
|
|
}
|