migration from new repo
This commit is contained in:
commit
423134a840
26930 changed files with 3458568 additions and 0 deletions
53
Assets/_/Features/UI/Runtime/Quests/Events/QuestLogUI.cs
Normal file
53
Assets/_/Features/UI/Runtime/Quests/Events/QuestLogUI.cs
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
using Codice.CM.Common;
|
||||
using Core.Runtime;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace GameUI.Runtime.Events
|
||||
{
|
||||
public class QuestLogUI : BaseMonobehaviour
|
||||
{
|
||||
|
||||
#region Publics
|
||||
|
||||
//
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region Unity API
|
||||
|
||||
//
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region Main Methods
|
||||
|
||||
public void setDatas(int time, string description)
|
||||
{
|
||||
_timeLogLabel.text = $"{time.ToString()} secs.";
|
||||
description = $"{LocalizationSystem.Instance.GetLocalizedText(description)}";
|
||||
_descriptionLogLabel.text = description;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region Utils
|
||||
|
||||
/* Fonctions privées utiles */
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region Privates and Protected
|
||||
|
||||
// Variables privées
|
||||
[SerializeField] TMP_Text _timeLogLabel;
|
||||
[SerializeField] TMP_Text _descriptionLogLabel;
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue