void Start() { Diss.transform.position = this.transform.position + new Vector3(0, 0, -3); if (PlayerPrefs.GetString("CurrentTile") == this.name) { Invoke("Delay", 0.0f); } GameObject xp1 = GameObject.Find("Combat1XP"); EnemyAllocation other = (EnemyAllocation)xp1.GetComponent(typeof(EnemyAllocation)); other.CombatXPDisplay(); }