Make copyright text auto set year by system date
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user