1ea616dd60
Enemy balance, added upgrades, added score, added menu
17 lines
292 B
C#
17 lines
292 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class PlayerScore : MonoBehaviour
|
|
{
|
|
public Text scoreText;
|
|
public int killedEnemy=0;
|
|
|
|
|
|
void Update()
|
|
{
|
|
scoreText.text = killedEnemy.ToString();
|
|
}
|
|
}
|