void Start() { btnX = Screen.width * 0.05f; btnY = Screen.height * 0.80f; btnW = Screen.width * 0.15f; btnH = Screen.height * 0.15f; netw = GetComponent <NetworkManager>(); Gstuff = GetComponent <GUI_Stuff>(); }
public GUI_Stuff myGui; // connection to the gui_stuff class in order to pass the score values void Start() { cc = GetComponent <CharacterController>(); myGui = GetComponent <GUI_Stuff>(); }