void Start()
{
//Set the frame rate
Application.targetFrameRate = 60;
//Player Initialisation
//Set the correct team from network code
//For now hardcoded to TeamOne
//teamOne = true;
//teamTwo = false;
//teamThree = false;
//Set the starting amount of Sol
sol = startingSol;
//Aeonur Spawn set to false
aeonurSpawned = false;
//Get UI Elements
//Score Label
GameObject scoreObject = GameObject.FindWithTag("ScoreLabel");
scoreLabel = scoreObject.GetComponent<UILabel>();
//KD Ratio Label
GameObject kdRatioObject = GameObject.FindWithTag("KDRatioLabel");
kdRatioLabel = kdRatioObject.GetComponent<UILabel>();
//Player Sol Label
GameObject playerSolObject = GameObject.FindWithTag("PlayerSolLabel");
playerSolLabel = playerSolObject.GetComponent<UILabel>();
//Victory Panel
victoryPanel = GameObject.FindWithTag("VictoryPanel");
//Defeat Panel
defeatPanel = GameObject.FindWithTag("DefeatPanel");
//Ship Selection Panel
shipSelectionPanel = GameObject.FindWithTag("ShipSelectionPanel");
//Set UI Elements
//Hide defeat panel
NGUITools.SetActive(defeatPanel, false);
//Hide victory panel
NGUITools.SetActive(victoryPanel, false);
//Set the initial Score
scoreLabel.text = "Score: " + score;
//Set the starting kd ratio
kdRatioLabel.text = "Kills/Deaths:" + kills + "/" + deaths;
//Set the player's Sol
playerSolLabel.text = "Sol: " + sol;
}