I have a text component that is changed in my script, however the change does not appear on the canvas until after I stop running the game. How do I get the change to appear at runtime?
Canvas Does Not Update Text Until Closed Out Of Game
Code (CSharp):
- using UnityEngine;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
- using UnityEngine.Networking;
- using System;
- using UnityEngine.Networking.NetworkSystem;
- using UnityEngine.UI;
- public class Player : NetworkBehaviour {
- public Text turn_count_drop; //assigned in...