Modifying retry button.

This commit is contained in:
Anonymous Raccoon
2018-08-13 23:21:09 +02:00
parent 70bd4cbabb
commit 59393c7f86
2 changed files with 6 additions and 6 deletions

View File

@@ -9783,7 +9783,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_text: Press R to restart
m_text: Press N to play again
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: ec3cd6eedf31b8240acafae391fca301, type: 2}
m_sharedMaterial: {fileID: 21461864525935096, guid: ec3cd6eedf31b8240acafae391fca301,
@@ -9919,7 +9919,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0.000061035156, y: 0.000030517578}
m_AnchoredPosition: {x: 0, y: 0.000030517578}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1470635748
@@ -14810,7 +14810,7 @@ MonoBehaviour:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_text: Press R to restart
m_text: Press R to retry
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: ec3cd6eedf31b8240acafae391fca301, type: 2}
m_sharedMaterial: {fileID: 21461864525935096, guid: ec3cd6eedf31b8240acafae391fca301,
@@ -14887,11 +14887,11 @@ MonoBehaviour:
lineCount: 1
pageCount: 1
materialCount: 1
m_havePropertiesChanged: 0
m_havePropertiesChanged: 1
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_spriteAnimator: {fileID: 0}
m_isInputParsingRequired: 0
m_isInputParsingRequired: 1
m_inputSource: 0
m_hasFontAssetChanged: 0
m_subTextObjects:

View File

@@ -63,7 +63,7 @@ public class InventoryManager : MonoBehaviour
if (Input.GetKeyDown(KeyCode.R))
{
ClearBoard();
GetComponent<Mission>().GenerateMission();
//GetComponent<Mission>().GenerateMission();
GetComponent<Mission>().WinUI.SetActive(false);
GetComponent<Pokedex>().UpdateMissionText();
}