void startWithManager() { playercount = GameObject.FindGameObjectsWithTag("Player").Length; allNames = new string[playercount]; allScores = new int[playercount]; print ("I think universeN() = "+universeN() ); manager = GameObject.Find("Character" + manager.universeNumber).GetComponent<PlayerManager>(); if (manager.activeCharN == null) manager.activeCharN = "tester"; Debug.Log("Hud on" + manager.activeCharN); manager.InitialiseStats(); StartScore(); iTween.CameraFadeAdd(); iTween.CameraFadeFrom(1.0f, 2.0f); ToastWrapper("SURVIVE THE ENEMY ONSLAUGHT"); if (PlayerManager.activeChar == "china") crossTex = (Texture2D)Resources.Load("hud/crossChi"); else if (PlayerManager.activeChar == "usa") crossTex = (Texture2D)Resources.Load("hud/crossUSA"); else crossTex = (Texture2D)Resources.Load("hud/crossRus"); wepBox1 = (Texture2D) Resources.Load ("hud/wepBox1Off"); wepBox2 = (Texture2D) Resources.Load ("hud/wepBox2Off"); wepBox3 = (Texture2D) Resources.Load ("hud/wepBox3Off"); flag = (Texture2D) Resources.Load ("menu/flags/"+manager.getFlag()); charName = MP.playerName; if (Network.isClient) { setWeapon(1); } startHP = manager.getStartHP(); startEnergy = manager.getStartEnergy(); bankSize = manager.getBankSize(); lives = manager.getLives(); charName = manager.getPlayerName(); }