using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class ScoreManager : MonoBehaviour
{
    public PlayerScript playerScript;

    public Text sharkPointsTx;
    public Text HaiscoreTx;

    public int sharkPoints = 0;
    public int haiscore = 0;

    // Start is called before the first frame update
    void Update()
    {

        if (playerScript != null)
        {
            sharkPointsTx.text = playerScript.GetSharkPoints().ToString();
            //HaiscoreTx.text = "Haiscore: " + haiscore.ToString(); 
        }

    }
}