Make copyright text auto set year by system date

This commit is contained in:
2026-01-19 18:24:26 -07:00
parent ae41ea5b5b
commit b7f20785d2
2 changed files with 4 additions and 1 deletions

View File

@@ -9,12 +9,14 @@ public class MenuScript : MonoBehaviour
[SerializeField] private Button updateButton;
[SerializeField] private Button profileButton;
[SerializeField] private ProfileMenu profilePrefab;
[SerializeField] private TMP_Text copyrightText;
void Awake()
{
LatestVersionText.Instance.text = updateText;
LatestVersionText.Instance.updateButton = updateButton;
LatestVersionText.Instance.RefreshText();
copyrightText.text = $"\\u00A9 {System.DateTime.Now.Year} Lncvrt. All rights reserved.";
if (Application.isMobilePlatform || Application.isEditor)
{