powerfun-unity/Assets/Scripts/UI/Prefab/NewRoute/NewRouteGroupController.cs

27 lines
517 B
C#
Raw Normal View History

2021-12-14 18:10:58 +08:00
using Assets.Scripts.Apis.Models;
using System;
using System.Collections;
2021-12-07 14:37:08 +08:00
using System.Collections.Generic;
using UnityEngine;
2021-12-14 18:10:58 +08:00
using UnityEngine.UI;
2021-12-07 14:37:08 +08:00
public class NewRouteGroupController : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
2021-12-14 18:10:58 +08:00
public void Initial(MapRouteArea groupItem)
{
transform.Find("Title").GetComponent<Text>().text = groupItem.Name;
}
2021-12-07 14:37:08 +08:00
}