private void Start() { sM = scoreUI.GetComponent <ScoreUIManager>(); validationGot += ValidationReceipt; gamepacketGot += GamePacketReceipt; // Send out a packet to the server telling it we have started our game. StartCoroutine(ValidateClient(rootURL + validationURL, PlayerPrefs.GetString("LocalWallet"), ScoreKeeper.gameVersion, validationGot)); }
private void Awake() { if (instance == null) { instance = this; } else { Destroy(gameObject); } }
private void Start() { scoreUI = GameObject.FindGameObjectWithTag("ScoreUIManager").GetComponent <ScoreUIManager>(); }