Tz2/Assets/Zion/Scripts/SetOrderValue.cs

32 lines
694 B
C#

using DefaultNamespace;
using MotionFramework;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class SetOrderValue : MonoBehaviour
{
/// <summary>
/// ÊäÈë¿ò
/// </summary>
private TMP_InputField inputFieldtext;
void Start()
{
inputFieldtext = GetComponent<TMP_InputField>();
if (MotionEngine.GetModule<GlobalDataStorage>().GetTaskBookValueByMapping(transform.parent.name) != "")
{
inputFieldtext.text = MotionEngine.GetModule<GlobalDataStorage>().GetTaskBookValueByMapping(transform.parent.name);
}
else
{
}
}
void Update()
{
}
}