//int val; // Use this for initialization void Start() { //val = 0; move = false; addOnce = false; qualdScript = GameObject.Find("Quald").GetComponent <Quald> (); bow.onClick.AddListener(addBow); betweenLevels = GameObject.FindGameObjectWithTag("Play").GetComponent <LevelControl> (); }
// Use this for initialization void Start() { if (PlayerPrefs.HasKey("THpM")) { turretHpMax = PlayerPrefs.GetInt("THpM"); } else { turretHpMax = 10; } qualdScript = GameObject.Find("Quald").GetComponent <Quald> (); //.quald; }
//public Button UpTurretDmg; // Use this for initialization void Start() { qualdScript = GameObject.Find("Quald").GetComponent <Quald>(); //.quald; turretDmgBoost = 0.8f; if (PlayerPrefs.HasKey("TDmg")) { increment = PlayerPrefs.GetInt("TDmg"); } else { increment = 0; } if (increment <= 0) { turretDmg = 1; } }