Skip to content

Commit 99315cc

Browse files
committed
lab 8
1 parent 5b218a8 commit 99315cc

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

Assets/Scripts/CharacterStats.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public virtual void RestoreHealth(int restore)
5454
}
5555
IEnumerator HealthIncrease()
5656
{
57-
Debug.Log("Start Coroutine");
57+
//Debug.Log("Start Coroutine");
5858

5959
for (int x = 1; x <= maxHp; x++)
6060
{
@@ -65,10 +65,10 @@ IEnumerator HealthIncrease()
6565
}
6666

6767
yield return new WaitForSeconds(0.01f);
68-
Debug.Log("HP: " + currentHp + " / " + maxHp);
68+
//Debug.Log("HP: " + currentHp + " / " + maxHp);
6969
}
7070

71-
Debug.Log("The current health is " + currentHp);
72-
Debug.Log("End Coroutine");
71+
//Debug.Log("The current health is " + currentHp);
72+
//Debug.Log("End Coroutine");
7373
}
7474
}

ProjectSettings/EditorBuildSettings.asset

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@ EditorBuildSettings:
1717
- enabled: 1
1818
path: Assets/Scenes/Hard.unity
1919
guid: 039acb24856892c46b965f225624604e
20+
- enabled: 1
21+
path: Assets/Scenes/SampleScene.unity
22+
guid: 9fc0d4010bbf28b4594072e72b8655ab
2023
m_configObjects: {}

0 commit comments

Comments
 (0)