AnneLise bird counter implemented
This commit is contained in:
19
Assets/Scripts/PuzzleS/BirdGameStats.cs
Normal file
19
Assets/Scripts/PuzzleS/BirdGameStats.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class BirdGameStats : MonoBehaviour
|
||||
{
|
||||
public int birdsFoundInLevel;
|
||||
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void BirdFound()
|
||||
{
|
||||
birdsFoundInLevel += 1;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
2
Assets/Scripts/PuzzleS/BirdGameStats.cs.meta
Normal file
2
Assets/Scripts/PuzzleS/BirdGameStats.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 47259b63379fb1b40aa2650a13f01fd1
|
||||
Reference in New Issue
Block a user