// Start is called before the first frame update void Start() { prefabManager = GameObject.Find("PrefabManager").GetComponent <PrefabManager> (); spawnManager = GameObject.Find("SpawnManager").GetComponent <SpawnManager> (); inventoryManager = GameObject.Find("InventoryManager").GetComponent <InventoryManager> (); follow = GameObject.Find("MainCamera").GetComponent <CamFollow> (); mapFollow = GameObject.Find("MapCamera").GetComponent <CamFollow> (); //playerStats = GameObject.Find("GameManager").GetComponent<PlayerStats>(); selectionUI = GameObject.Find("UIManager").GetComponent <SelectionUI> (); if (!selectionUI.Equals(null)) { selectionUI.FindSelectionObjects(); } }