migration from new repo

This commit is contained in:
mrtoine 2025-09-06 23:56:47 +02:00
commit 423134a840
26930 changed files with 3458568 additions and 0 deletions

View file

@ -0,0 +1,50 @@
using Core.Runtime;
using UnityEngine;
namespace MenuSystem.Runtime.Settings
{
public class AudioMenuModule : BaseMonobehaviour, IMenuModule
{
#region Publics
public string GetMenuName() => "Audio";
public GameObject GetMenuPanel() => _audioPanel;
#endregion
#region Unity API
void Start()
{
if (MenuManager.Instance != null)
{
MenuManager.Instance.RegisterMenu(this);
}
}
#endregion
#region Main Methods
//
#endregion
#region Utils
/* Fonctions privées utiles */
#endregion
#region Privates and Protected
[SerializeField] private GameObject _audioPanel;
#endregion
}
}

View file

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 2191e1aff27f44e3b0075022d40bcc99
timeCreated: 1751218235

View file

@ -0,0 +1,56 @@
using Core.Runtime;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace MenuSystem.Runtime
{
public class SettingsMenu : BaseMonobehaviour
{
#region Publics
//
#endregion
#region Unity API
private void Start()
{
if (_settingsPanel)
{
foreach (var btn in _settingsPanel.GetComponentsInChildren<TMP_Text>())
{
btn.text = LocalizationSystem.Instance.GetLocalizedText(btn.text);
}
}
}
#endregion
#region Main Methods
//
#endregion
#region Utils
/* Fonctions privées utiles */
#endregion
#region Privates and Protected
[SerializeField] private GameObject _settingsPanel;
#endregion
}
}

View file

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: c99f4fc7ad4f4bc99c3248b325b139bc
timeCreated: 1751216302