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

27 lines
517 B
C#

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