2023-08-15 17:38:54 +03:00
|
|
|
using System;
|
2023-07-24 16:38:13 +03:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
[System.Serializable]
|
|
|
|
public class Player
|
|
|
|
{
|
|
|
|
public string Name;
|
2023-10-02 19:12:35 +03:00
|
|
|
public int Score;
|
2023-10-05 17:56:59 +03:00
|
|
|
public string DateTime;
|
2023-08-07 13:23:18 +03:00
|
|
|
public List<MonumentInfo> UnlockedMonumets = new List<MonumentInfo>();
|
2023-08-22 15:41:12 +03:00
|
|
|
|
2023-07-24 16:38:13 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
[CreateAssetMenu(fileName = "PlayerInfo")]
|
|
|
|
public class PlayerInfo : ScriptableObject
|
|
|
|
{
|
|
|
|
public List<Player> Players = new List<Player>();
|
|
|
|
|
2023-08-22 17:02:25 +03:00
|
|
|
public void AddNewPlayer(Player player)
|
|
|
|
{
|
|
|
|
Players.Add(player);
|
|
|
|
}
|
|
|
|
|
2023-07-24 16:38:13 +03:00
|
|
|
}
|