Skip to content

My word#32

Open
arnab2k24 wants to merge 2 commits intoUnity-Technologies:upgrade-2021.3from
arnab2k24:master
Open

My word#32
arnab2k24 wants to merge 2 commits intoUnity-Technologies:upgrade-2021.3from
arnab2k24:master

Conversation

@arnab2k24
Copy link

No description provided.

@arnab2k24
Copy link
Author

using UnityEngine;
using UnityEngine.UI;

public class ScoreManager : MonoBehaviour
{
public Text scoreText;
public Transform player;

void Update()
{
    scoreText.text = "Score: " + ((int)player.position.z).ToString();
}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants