Horje
c# display a variable to a text gameobject Code Example
c# display a variable to a text gameobject
 using UnityEngine.UI;  //its a must to access new UI in script
 public class YourClass : MonoBehaviour
 {
     public Text Score_UIText; // assign it from inspector
 void Start()
 {
    Score_UIText.text = yourscore_variable;
 }
 
 }

// I found it on the web IDK if it's work or not, Good luck :)




Csharp

Related
alert message in c# windows application Code Example alert message in c# windows application Code Example
add tag helpers asp.net core in viewimports Code Example add tag helpers asp.net core in viewimports Code Example
c# throw exception Code Example c# throw exception Code Example
reference to another script unity Code Example reference to another script unity Code Example
C# how to remove an image in a folder Code Example C# how to remove an image in a folder Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9