init
This commit is contained in:
commit
341a877b4a
2338 changed files with 1346408 additions and 0 deletions
11
Assets/Scripts/PlayerData.cs
Normal file
11
Assets/Scripts/PlayerData.cs
Normal file
|
@ -0,0 +1,11 @@
|
|||
[System.Serializable]
|
||||
public class PlayerData{
|
||||
|
||||
public bool bossKilled;
|
||||
public float playDuration;
|
||||
|
||||
public PlayerData(PlayerController player){
|
||||
bossKilled = player.bossKilled;
|
||||
playDuration = player.timeSurvived;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue