Refactorisation
This commit is contained in:
@@ -6,7 +6,7 @@ using UnityEngine;
|
||||
public class StartUI : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
private TMP_Text text;
|
||||
private TMP_Text _text;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
@@ -21,9 +21,9 @@ public class StartUI : MonoBehaviour
|
||||
private IEnumerator Settlement()
|
||||
{
|
||||
yield return new WaitForSecondsRealtime(1f);
|
||||
text.SetText("2");
|
||||
_text.SetText("2");
|
||||
yield return new WaitForSecondsRealtime(1f);
|
||||
text.SetText("1");
|
||||
_text.SetText("1");
|
||||
yield return new WaitForSecondsRealtime(1f);
|
||||
Time.timeScale = 1f;
|
||||
Destroy(gameObject);
|
||||
|
||||
@@ -191,7 +191,7 @@ Canvas:
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_VertexColorAlwaysGammaSpace: 1
|
||||
m_AdditionalShaderChannelsFlag: 0
|
||||
m_AdditionalShaderChannelsFlag: 25
|
||||
m_UpdateRectTransformForStandalone: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
@@ -281,4 +281,4 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 4bbb960039366744fb92e6242d1a345d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
text: {fileID: 2676709033308988721}
|
||||
_text: {fileID: 2676709033308988721}
|
||||
|
||||
Reference in New Issue
Block a user