/// <summary> /// Opens the agents canvas and updates the date so that the player can see their agents. /// </summary> /// <param name="safehouse">Safehouse.</param> public void ShowAgents(SafehouseData safehouse) { this.safehouse = safehouse; agentCanvas.SetActive(true); UpdateOfficeList(); }
void Start() { houseData = new SafehouseData(); headquarters = new List <GameObject>(); cont = new Continent(); ownCollider = transform.root.gameObject.GetComponent <Collider> (); //Creates and obtains the current instances of other classes }