private void Awake() { instance = this; healthbarImage = healthbar.GetComponent <Image>(); selectedTextAnimation = selectedText.GetComponent <Animation>(); selectedTextGameOverAnimation = selectedTextGameOver.GetComponent <Animation>(); currentScreenSize = new SaveFloat("iCurrentScreenSize"); }
private void Awake() { highScore = new SaveFloat("iHighScore"); instance = this; }